public interface PermissionChecker
Modifier and Type | Method and Description |
---|---|
void |
checkPermission(Requirement requirement) |
boolean |
hasPermission(Requirement 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(Requirement requirement)
void checkPermission(Requirement requirement) throws PermissionException
PermissionException
Copyright © 2020 Play SQL. All rights reserved.