ACL Permissions to Restrict Folder Creation | Adobe Higher Education
Skip to main content
Level 2
July 1, 2020
Beantwoord

ACL Permissions to Restrict Folder Creation

  • July 1, 2020
  • 1 reactie
  • 2247 Bekeken

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. 

Er kunnen geen reacties meer worden geplaatst op dit onderwerp.
Beste antwoord door 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 reactie

raghavc
raghavcAntwoord
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.