Access rights for Language Copy creation
Explore how to resolve the Language Copy visibility issue in AEM. Learn how access rights affect functionality for authors in the default content-authors group, ensuring seamless content management.
Description description
Environment
Adobe Experience Manager
Issue
While restricting the access rights, Authors may 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 as in the AEM FAQs in the AEM Administering Guide.
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, if 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)
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).
Resolution resolution
Solution
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.
Finally adding the permission /conf/global - jcr:all
to the content-authors
group enables you to successfully create Language Copies.