public interface PermissionProvider
Modifier and Type | Method and Description |
---|---|
String[] |
getAliasPermissions(String perm) |
String[] |
getPermissionGroups(String perm) |
String[] |
getPermissions() |
String[] |
getSubPermissions(String perm) |
List<UserVisiblePermission> |
getUserVisiblePermissionDescriptors() |
List<UserVisiblePermission> |
getUserVisiblePermissionDescriptors(String typeName) |
String[] getPermissions()
String[] getPermissionGroups(String perm)
perm
- the name of a registered permissions that belongs to permission groups (aka compound permissions)List<UserVisiblePermission> getUserVisiblePermissionDescriptors()
List<UserVisiblePermission> getUserVisiblePermissionDescriptors(String typeName)
typeName
- the name of a Core type of the document whose ACP is to be edited by the userString[] getSubPermissions(String perm)
perm
- the name of a registered compound permissionString[] getAliasPermissions(String perm)
perm
- the name of a registered permissionCopyright © 2016 Nuxeo SA. All rights reserved.