Package | Description |
---|---|
org.alfresco.service.cmr.security |
Modifier and Type | Method and Description |
---|---|
AccessStatus |
AccessPermission.getAccessStatus()
Get the Access enumeration value
|
AccessStatus |
PermissionService.hasPermission(Long aclID,
PermissionContext context,
String permission)
Check if a permission is allowed on an acl.
|
AccessStatus |
PermissionService.hasPermission(NodeRef nodeRef,
String permission)
Check that the given authentication has a particular permission for the given node.
|
AccessStatus |
PermissionService.hasReadPermission(NodeRef nodeRef)
Check if read permission is allowed on an acl (optimised)
caveats:
doesn't take into account dynamic authorities/groups
doesn't take into account node types/aspects for permissions
|
static AccessStatus |
AccessStatus.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AccessStatus[] |
AccessStatus.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2005–2018 Alfresco Software. All rights reserved.