public class EditByRolePermission extends Permission
| Modifier and Type | Field and Description |
|---|---|
static String |
NAMESPACE |
uri| Constructor and Description |
|---|
EditByRolePermission(String roleName,
BaseResourceBean.RoleLevel roleLevel) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAuthorized(RequestedAction whatToAuth)
If the requested action is to edit a property statement, we might
authorize it based on their role level.
|
String |
toString() |
compareTo, equals, getUri, hashCodepublic static final String NAMESPACE
public EditByRolePermission(String roleName, BaseResourceBean.RoleLevel roleLevel)
public boolean isAuthorized(RequestedAction whatToAuth)
isAuthorized in class Permissionpublic String toString()
toString in class PermissionCopyright © 2022. All rights reserved.