Solution: Modify SiteAccessRules to allow advanced editing

This is compatible with eZ Publish 3.

Problem

Class and template editing are disabled by default since the 3.9.0 release.However, it looks like complaints from user have lead eZ to reenable this functionality at least in 3.9.2. So the information below is likely not required for new installs.

Notices

  1. On the final page of eZ publish installation and setup, the user is presented with message:
    • "The ability to edit classes and templates have been disabled in the Administration Interface in order to comply with the warranty in the eZ Publish Now service."
  2. Edit controls are still displayed on 'Setup/classes' page and create template override controls on 'Design/templates'. Yet when trying to use them, displays these error messages:
    • "The requested page could not be displayed. (22) The requested view can not be accessed. The <edit> within the <class> is disabled and thus it can not be accessed."
    • "The requested page could not be displayed. (22) The requested view can not be accessed. The <templatecreate> within the <visual> is disabled and thus it can not be accessed."

Settings

To enable these features, remove the following settings (remove the 'Rules[]' lines) from 'settings/override/site.ini.append.php'

[SiteAccessRules]
Rules[]
Rules[]=access;disable
Rules[]=module;class/edit
Rules[]=module;class/groupedit
Rules[]=module;class/copy
Rules[]=module;class/down
Rules[]=module;class/up
Rules[]=module;class/removeclass
Rules[]=module;class/removegroup
Rules[]=module;class/translation
Rules[]=module;visual/templateedit
Rules[]=module;visual/templatecreate

External Reference