how to prevent insertion of components into a page? | Community
Skip to main content
jayv25585659
Level 8
Oct 18, 2019 4:06 AM UTC
Solved

how to prevent insertion of components into a page?

so I have the following setup (using Netcentric ACL framework):

      - path: /content/staff/en

        permission: allow

        privileges: jcr:read,jcr:modifyProperties,jcr:removeNode,jcr:removeChildNodes,jcr:addChildNodes

        repGlob: '*/jcr:content*'

This allows me to edit, delete and add components into a page. If I remove "jcr:addChildNodes", I cannot add any new components into the page BUT this also removes my ability to edit/configure the components already in the page.

I am looking at https://docs.adobe.com/docs/en/spec/jcr/2.0/16_Access_Control_Management.html and nothing stands out in the privileges lis that should fix my issue.

Any ideas on how to fix?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
cal-netsolution
cal-netsolutionAccepted solution
Level 2
Oct 21, 2019 7:25 AM UTC

As per your question I understand that you want to set ACLs on component basis but component level permissions are not supported in AEM and its not best practice as it might cause some issues. You can check in user admin in how much depth you can try to add the ACLs, because for component level ACLs there is no UI.

Best,

Cal

3 replies

cal-netsolution
cal-netsolutionAccepted solution
Level 2
Oct 21, 2019 7:25 AM UTC

As per your question I understand that you want to set ACLs on component basis but component level permissions are not supported in AEM and its not best practice as it might cause some issues. You can check in user admin in how much depth you can try to add the ACLs, because for component level ACLs there is no UI.

Best,

Cal

Translate
Employee
Oct 20, 2019 8:48 AM UTC

If you don‘t want your users to add new components to a page, don‘ use a parsys but static components.

But.. as you mentioned ACLs.. maybe you want to only allow certain users to add components? 

Translate
joerghoh
Employee
Oct 18, 2019 7:00 AM UTC

What are your requirements?

Translate