Interface PermissionChecker
public interface PermissionChecker
Asks the platform whether an entity holds a permission.
-
Method Summary
-
Method Details
-
check
-
check
Checks if the entity has the specified permission.- Parameters:
entity- The entity to check permissions forpermission- The permission object to verify- Returns:
- true if the entity has the permission, false otherwise
-