public interface PermissionChecker
Modifier and Type | Method and Description |
---|---|
void |
checkPermission(com.playsql.utils.api.interfaces.RequirementKey requirement) |
PermissionException |
getPermissionException(com.playsql.utils.api.interfaces.RequirementKey requirement) |
com.atlassian.confluence.user.ConfluenceUser |
getUser()
Just for information purpose, this returns the user
|
boolean |
hasPermission(com.playsql.utils.api.interfaces.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(com.playsql.utils.api.interfaces.RequirementKey requirement)
void checkPermission(com.playsql.utils.api.interfaces.RequirementKey requirement) throws PermissionException
PermissionException
PermissionException getPermissionException(com.playsql.utils.api.interfaces.RequirementKey requirement)
com.atlassian.confluence.user.ConfluenceUser getUser()
Copyright © 2022 Requirement Yogi. All rights reserved.