acl Jahia 7.3 Jahia 8

AccessControlException: Unknown privilege

Question

Some parts of the UI are not working and the logs contain this type of line:

javax.jcr.security.AccessControlException: Unknown privilege {}publication-start

 

Cause

The module that defines these privileges is not present.
The JCR content of the module has been deleted.

Solution

  1. Check if the module is present and if not, install it
  2. If it's present, check in the JCR if the permissions are present in the path /modules/MODUYLE_NAME/MODULE_VERSION/permissions. If not, update the module thanks to OSGI Console (DX_URL/tools/osgi/console/bundles) or Karaf console.