Access Rights for Language Copy creation

Description

While restricting the access rights the following situation may be encountered:
Authors want to use the Language Copy functionality but when assigned to the default content-authors AEM group that functionality isn’t visible.

To create a Language Copy, content-authors need permissions at /content/projects location 1. If one requires the authors to manage projects as well, then the workaround is to add the author to project-administrators group.

If a content-author user is added to the project-administrators group the option “Language Copy” is present under the “Create” button. However, it is selected the following error is displayed:



Failed executing script /libs/cq/Page/Page.jsp: java.lang.NullPointerException


Cannot serve request to /mnt/overlay/wcm/core/content/sites/createlanguagecopywizard.html in BundledScriptServlet (/libs/cq/gui/components/siteadmin/admin/translation/datasources/cloudconfigurations/cloudconfigurations.jsp?lang=en)


Exception:

java.lang.NullPointerException
at libs.cq.gui.components.siteadmin.admin.translation.datasources.cloudconfigurations.cloudconfigurations__002e__jsp._jspService(cloudconfigurations__002e__jsp.java:183)
at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at org.apache.sling.scripting.jsp.PrecompiledJSPRunner.callPrecompiledJSP(PrecompiledJSPRunner.java:72)
at org.apache.sling.scripting.jsp.JspScriptEngineFactory$JspScriptEngine.eval(JspScriptEngineFactory.java:583)
at org.apache.sling.scripting.core.impl.bundled.PrecompiledScript.eval(PrecompiledScript.java:56)
at org.apache.sling.scripting.core.impl.bundled.ScriptContextProvider$ExecutableContext.eval(ScriptContextProvider.java:170)
at org.apache.sling.scripting.core.impl.bundled.AbstractBundledRenderUnit.eval(AbstractBundledRenderUnit.java:135)

This functionality is working for an user with the global administrator right (AEM-adminstrator group from the adminconsole)

1 https://experienceleague.adobe.com/docs/experience-manager-65/administering/introduction/aem-faqs.html?lang=en

Resolution

The configuration for MSM is located under “/conf/global” and none of the two groups - content-authors and project-administrators - have permissions for the specified path.

Therefore, adding the permission “/conf/global - jcr:all” to the content-auhors group enables the user to successfully create Language Copies.

On this page