Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

ACL Permissions to Restrict Folder Creation

Avatar

Level 2

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. 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Level 5

@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.

View solution in original post

1 Reply

Avatar

Correct answer by
Level 5

@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.