Roles
A role is a set of JCR permissions.
Roles Configuration
The roles are stored in the repository as children of the node /hippo:configuration/hippo:roles. The following JCR permissions exist in the repository: READ, WRITE and REMOVE. The roles are also used for assigning workflows to users and groups.
The roles are referenced by the domains auth roles and can be assigned to workflows.
Structure
/hippo:configuration: /hippo:roles: /editor: hipposys:privileges: [ hippo:editor ] /myrole: hipposys:roles: [ editor ] hipposys:privileges: [ hippo:rest, jcr:read ]
Nodes
hipposys:role
Name |
Type |
Required |
Description |
---|---|---|---|
node name |
String |
yes |
the name of the role |
hippo:jcrread |
Boolean |
yes |
grant JCR " READ" to the role |
hippo:jcrwrite |
Boolean |
yes |
grant JCR " WRITE" to the role |
hippo:jcrremove |
Boolean |
yes |
grant JCR " REMOVE" to the role |
The name of the node is used as the role name. The boolean properties hippo:jcrread, hippo:jcrwrite and hippo:jcrremove can be set to assign the JCR READ, WRITE and REMOVE properties to a role.