Expand my Community achievements bar.

Importing rep:policy nodes in the ui.content maven content package | AEM Community Blog Seeding

Avatar

Administrator

7/11/22

BlogImage.jpg

Importing rep:policy nodes in the ui.content maven content package by sourcedcode

Abstract

While working on a new AEM project (typically using https://github.com/adobe/aem-project-archetype), we might sometimes want to deploy new content with rep:policy nodes in particular, to give permission controls to allow jcr:read everyone to view the root content pages like /content/sourcedcode. There comes when a problem while building the ui.content maven module. Sometimes the rep:policy node is not imported over.

In this article, we will be configuring your AEM ui.content maven module to import the rep:policy as expected to allow the everyone group to view the /content/sourcedcode folder.

Step 1
Create a file named _rep_policy.xml under /ui.content/src/main/content/jcr_root/content/sourcedcode/_rep_policy.xml






Read Full Blog

Importing rep:policy nodes in the ui.content maven content package

Q&A

Please use this thread to ask the related questions.