General

  eZ Systems Website
  Editor documentation


  Developer documentation

  Back to the top

The documentation is moving!

We're moving our developer docs to Github and a new site.
The migration is still in progress, so please contact us in #documentation-contrib on eZ Community Slack if you have any questions or feedback.

This space will not be updated from now on except for critical fixes.

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

Note

If you can not find the file, please reload the homepage. The cache will be regenerated.

Then open it and look for ezpublish.api.role.policy_map, it will look like this:

Code Block
languagexml
titleezpublish.api.role.policy_map entry in the app/cache/dev/appDevDebugProjectContainer.xml file
    <parameter key="ezpublish.api.role.policy_map" type="collection">
        <parameter key="content" type="collection">			
        <parameter key="read" type="collection">
        <parameter key="Class">true</parameter>
  • 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
  • section
  • state
  • user

 

Note

If a function is absent from the tables below, it means that no Limitations can be assigned to it.

Content

content Module

Functions

Limitations

 ClassSectionOwnerNodeSubtreeGroupLanguageOther Limitations
readtruetruetruetruetruetrue-
  • State
difftruetruetruetruetrue---
view_embedtruetruetruetruetrue---
createtruetrue-truetrue-true
  • ParentOwner  
  • ParentGroup
  • ParentClass
  • ParentDepth
edittruetruetruetruetruetruetrue
  • State

Status
colourYellow
titlev1.8

publish

truetruetruetruetruetruetrue
  • State
manage_locationstruetruetrue true---
hidetruetruetruetruetruetruetrue
  • State
translatetruetruetruetruetrue true-
removetruetruetruetruetrue--
  • State
versionreadtruetruetruetruetrue--
  • Status
versionremovetruetruetruetreutrue--
  • Status

Section

section Module
FunctionLimitations
assign
  • Class  
  • Section  
  • Owner  
  • NewSection

State

 

state Module
 FunctionLimitations
 assign
  • Class
  • Section
  • Owner
  • NewSection

User

user Module
 FunctionLimitations
 login
  • Siteaccess

In this topic:

Table of Contents
maxLevel3