@Component public class RestPermissionCheck extends Object
RestHelper
throws
an AccessDeniedException
which maps to 401 not 403. However we don't want to fix it
atm because it is an API change.
This class should be removed after we have the fix.Constructor and Description |
---|
RestPermissionCheck(com.atlassian.sal.api.message.I18nResolver i18nResolver) |
Modifier and Type | Method and Description |
---|---|
void |
assertRestrictedAdminPermission() |
void |
assertSystemAdminPermission() |
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.