Retrieving the Role Policies
To retrieve the Roles Policies, on a working eZ Platform instance, in dev environment open the file app/cache/dev/appDevDebugProjectContainer.xml
Then open it and look for ezpublish.api.role.policy_map
, it will look like this:
- The 1st sublevel ("content") is a module.
- The 2nd sublevel ("read") is a function.
- The 3rd sublevel ("Class") is a limitation.
Module, function and limitations
Each Module contains functions, and for each function, you have limitations. The default values are shown below.
There are 4 modules:
Content
content Module |
---|
Functions | Limitations |
| Class | Section | Owner | Node | Subtree | Group | Language | Other Limitations |
---|
read | true | true | true | true | true | | - | |
diff | true | true | true | true | true | - | - | - |
view_embed | true | true | true | true | true | - | - | - |
create | true | true | - | true | true | - | true | - ParentOwner
- ParentGroup
- ParentClass
- ParentDepth
|
edit | true | true | true | true | true | true | true | |
V1.8 publish | true | true | true | true | true | true | true | |
manage_locations | true | true | true | | true | - | - | - |
hide | true | true | true | true | true | true | true | |
translate | true | true | true | true | true | | true | - |
remove | true | true | true | true | true | - | - | |
versionread | true | true | true | true | true | - | - | |
versionremove | true | true | true | treu | true | - | - | |
pdf | true | true | true | true | true | - | - | - |
Section
section Module |
---|
Function | Limitations |
---|
assign | - Class
- Section
- Owner
- NewSection
|
State
state Module |
---|
Function | Limitations |
---|
assign | - Class
- Section
- Owner
- NewSection
|
User
user Module |
---|
Function | Limitations |
---|
login | |