Expand my Community achievements bar.

SOLVED

Disable Create Folder permission

Avatar

Level 4

Hi Team

 

I want to disable create folder permission to certain user groups using repository initialization scripts.

 

Kindly help me.

 

Thanks in adanvce.

1 Accepted Solution

Avatar

Correct answer by
Level 6

Hi @Prashardan please try:

create group repo_group
set properties on authorizable (repo_group)/profile
    set givenName to "Repo Group"
end

create path /home/groups/re/repo_group
  rep:policy
    +denyCreateFolder (rep:denyACE)
      -rep:principalName = repo_group
      -rep:privileges = jcr:addChildNodes
end

 
Make sure you have the following resolved:
https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/repository-initialization-...

View solution in original post

2 Replies

Avatar

Correct answer by
Level 6

Hi @Prashardan please try:

create group repo_group
set properties on authorizable (repo_group)/profile
    set givenName to "Repo Group"
end

create path /home/groups/re/repo_group
  rep:policy
    +denyCreateFolder (rep:denyACE)
      -rep:principalName = repo_group
      -rep:privileges = jcr:addChildNodes
end

 
Make sure you have the following resolved:
https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/repository-initialization-...

Avatar

Level 4

Hi @kapil_rajoria 

 

Thanks for your reply.

 

I want to deny only create folder options however other options of create  should be available.  (create tags, live copy, content fragments)