| Package | Description |
|---|---|
| com.atlassian.sal.api.permission |
| Modifier and Type | Class and Description |
|---|---|
class |
NotAuthenticatedException
Exception that is thrown by one of the enforce methods in
PermissionEnforcer when the current user does not
have the required level of access because the user is not authenticated. |
| Modifier and Type | Method and Description |
|---|---|
void |
PermissionEnforcer.enforceAdmin()
Verifies that the current security context has sufficient authorisation to perform administration tasks.
|
void |
PermissionEnforcer.enforceSiteAccess()
Verifies that at least ONE of the following criteria is met, otherwise an exception is thrown.
|
void |
PermissionEnforcer.enforceSystemAdmin()
Verifies that the current security context has sufficient authorisation to perform system administration tasks.
|
Copyright © 2023 Atlassian. All rights reserved.