User permissions package | Community
Skip to main content
Level 5
June 17, 2025
Solved

User permissions package

  • June 17, 2025
  • 1 reply
  • 409 views

Hi,

 

I would like to limit access to certain areas of the AEM landing dashboard for some groups, for example, the "Form". So they can't even see it. Here is my package

 

Under jcr_root/libs/cq/core/content/nav/forms/_rep_policy.xml

 
<?xml version="1.0" encoding="UTF-8"?> <jcr:root xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:rep="internal" jcr:primaryType="rep:ACL"> <deny1 jcr:primaryType="rep:DenyACE" rep:principalName="dept1-admin" rep:privileges="{Name}[jcr:read]"/> <deny2 jcr:primaryType="rep:DenyACE" rep:principalName="dept2-admin" rep:privileges="{Name}[jcr:read]"/> </jcr:root>

 

Then the META-INF/vault/filter.xml

<?xml version="1.0" encoding="UTF-8"?> <workspaceFilter version="1.0"> <filter root="/libs/cq/core/content/nav" mode="replace"/> </workspaceFilter>

 

But after installing the package, I don't see anything changing under the /libs/cq/core/content/nav/form. I was expecting two nodes created underneath to limit access for the dept1-admin and dept2-admin. Can anyone please advise? 

 

Thanks!

-kt

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by arunpatidar

Hi @kevin_gta 

Please check the package, you should add AC handling e.g. Merge

 

 

1 reply

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
June 17, 2025

Hi @kevin_gta 

Please check the package, you should add AC handling e.g. Merge

 

 

Arun Patidar
Kevin_GTaAuthor
Level 5
June 17, 2025

Hi @arunpatidar 

 

It works! Thank you!

 

-kt