Interface PermissionConstants
public interface PermissionConstants
Implementation specific constants related to permission evaluation.
- Since:
- OAK 1.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionDefault value for thePARAM_READ_PATHSconfiguration parameter.static final Stringstatic final Stringstatic final StringConfiguration parameter specifying additional principals that should be treated as 'administrator' thus get granted full permissions on the complete repository content.static final StringConfiguration parameter to enforce backwards compatible permission validation with respect to user management and node removal: User Management: As of OAK 1.0 creation/removal of user and groups as well as modification of user/group specific protected properties requiresUSER_MANAGEMENTpermissions while in Jackrabbit 2.0 they were covered by regular item write permissions. Removing Nodes: As of OAK 1.0 removing a node will succeed if the removal is granted on that specific node irrespective of the permission granted or denied within the subtree.static final StringConfiguration parameter to enable full read access to regular nodes and properties at the specified paths.static final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringValue of thePARAM_PERMISSIONS_JR2configuration parameter that contains all value entries.
-
Field Details
-
NT_REP_PERMISSIONS
- See Also:
-
NT_REP_PERMISSION_STORE
- See Also:
-
REP_PERMISSION_STORE
- See Also:
-
PERMISSIONS_STORE_PATH
- See Also:
-
REP_ACCESS_CONTROLLED_PATH
- See Also:
-
REP_IS_ALLOW
- See Also:
-
REP_PRIVILEGE_BITS
- See Also:
-
REP_NUM_PERMISSIONS
- See Also:
-
PERMISSION_NODETYPE_NAMES
-
PERMISSION_NODE_NAMES
-
PERMISSION_PROPERTY_NAMES
-
PARAM_PERMISSIONS_JR2
Configuration parameter to enforce backwards compatible permission validation with respect to user management and node removal:- User Management: As of OAK 1.0 creation/removal of user and
groups as well as modification of user/group specific protected properties
requires
USER_MANAGEMENTpermissions while in Jackrabbit 2.0 they were covered by regular item write permissions. - Removing Nodes: As of OAK 1.0 removing a node will succeed if the removal is granted on that specific node irrespective of the permission granted or denied within the subtree. This contrasts to JR 2.0 where removal of a node only succeeded if all child items (nodes and properties) could be removed.
#PARAM_PERMISSIONS_JR2configuration parameter whose value is expected to be a comma separated string of permission names for which backwards compatible behavior should be turned on.Currently the following values are respected:
- "USER_MANAGEMENT" : to avoid enforcing
Permissions.USER_MANAGEMENTpermission. - "REMOVE_NODE" : to enforce permission checks for all items located in the subtree in case of removal.
- Since:
- OAK 1.0
- See Also:
- User Management: As of OAK 1.0 creation/removal of user and
groups as well as modification of user/group specific protected properties
requires
-
VALUE_PERMISSIONS_JR2
Value of thePARAM_PERMISSIONS_JR2configuration parameter that contains all value entries. -
PARAM_ADMINISTRATIVE_PRINCIPALS
Configuration parameter specifying additional principals that should be treated as 'administrator' thus get granted full permissions on the complete repository content.- Since:
- OAK 1.0
- See Also:
-
PARAM_READ_PATHS
Configuration parameter to enable full read access to regular nodes and properties at the specified paths.- Since:
- OAK 1.0
- See Also:
-
DEFAULT_READ_PATHS
Default value for thePARAM_READ_PATHSconfiguration parameter.- Since:
- OAK 1.0
-