public interface PermissionChecker
Modifier and Type | Method and Description |
---|---|
void |
checkPermission(RequirementKey requirement) |
PermissionException |
getPermissionException(RequirementKey requirement) |
com.atlassian.confluence.user.ConfluenceUser |
getUser()
Just for information purpose, this returns the user
|
boolean |
hasPermission(RequirementKey requirement)
Return true of false depending on whether the user has the permissino on the requirement
|
boolean |
hasPermission(String spaceKey)
Return true of false depending on whether the user has the permissino on all requirements in this space
|
boolean hasPermission(String spaceKey)
boolean hasPermission(RequirementKey requirement)
void checkPermission(RequirementKey requirement) throws PermissionException
PermissionException
PermissionException getPermissionException(RequirementKey requirement)
com.atlassian.confluence.user.ConfluenceUser getUser()
Copyright © 2021 Play SQL. All rights reserved.