ACL Permissions to Restrict Folder Creation | Community
Skip to main content
Level 2
July 1, 2020
Solved

ACL Permissions to Restrict Folder Creation

  • July 1, 2020
  • 1 reply
  • 2226 views

Hi Community,

  I wanted to see if any of you are aware of how to set up ACL rules so that a user can not make any add/edit/delete actions to folders themselves, but can contribute assets or pages to those folders?  I'd like to set up a role that can create our folder structure in Pages and in the DAM.  Then set up a separate role so that people can upload assets to those folders (in the case of the DAM) or create pages in those folders (in the case of Sites) but can not change the folder hierarchy in any way.  

 

  Wasn't sure if this was possible, and appreciate any help you can direct me to. 

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 raghavc

@brianstager You will have to overlay the below path and add a rendercondition to hide create holder option to users of a specific group 

/libs/dam/gui/content/assets/jcr:content/actions/secondary/create/items/createfolder

/libs/wcm/core/content/sites/jcr:content/actions/secondary/create/items/createfolder

 

You can refer to the below link on how to create the render condition 

https://levelup.gitconnected.com/aem-creating-custom-granite-render-conditions-28a21958f420

 

Also remove read access to the below path

/libs/wcm/core/content/coral/common/createfolderdialog

 

Similar approach can be used for other operations too.

1 reply

raghavc
raghavcAccepted solution
Level 4
July 1, 2020

@brianstager You will have to overlay the below path and add a rendercondition to hide create holder option to users of a specific group 

/libs/dam/gui/content/assets/jcr:content/actions/secondary/create/items/createfolder

/libs/wcm/core/content/sites/jcr:content/actions/secondary/create/items/createfolder

 

You can refer to the below link on how to create the render condition 

https://levelup.gitconnected.com/aem-creating-custom-granite-render-conditions-28a21958f420

 

Also remove read access to the below path

/libs/wcm/core/content/coral/common/createfolderdialog

 

Similar approach can be used for other operations too.