Expand my Community achievements bar.

Join expert-led, customer-led sessions on Adobe Experience Manager Assets on August 20th at our Skill Exchange.
SOLVED

User permissions package

Avatar

Level 7

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

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @kevingtan 

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

 

arunpatidar_0-1750169941385.png

 

Arun Patidar

AEM LinksLinkedIn

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

Hi @kevingtan 

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

 

arunpatidar_0-1750169941385.png

 

Arun Patidar

AEM LinksLinkedIn

Avatar

Level 7

Hi @arunpatidar 

 

It works! Thank you!

 

-kt