Expand my Community achievements bar.

SOLVED

How to revoke user permissions to a folder for all users in CQ5.6.1?

Avatar

Level 3

I want to revoke all permissions from a particular path; let's say /content/a/b for all users. There are around 400 users and 50 groups on the instance. I know I can go to the individual user and group  id in the user admin console and revoke the permissions from the path; but is there a way by which I can directly revoke the permissions of all users and group from the path; instead of doing it for each user and group individually?

1 Accepted Solution

Avatar

Correct answer by
Level 10

You need to select permissions based on users and groups.

https://docs.adobe.com/docs/en/cq/5-6-1/administering/security.html#Permissions and ACLs

There is no way to remove permissions given a path that will then result in no one having access to that path. 

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

You need to select permissions based on users and groups.

https://docs.adobe.com/docs/en/cq/5-6-1/administering/security.html#Permissions and ACLs

There is no way to remove permissions given a path that will then result in no one having access to that path. 

Avatar

Level 10

Ideal way to do it to update the ACLs on all 50 groups where the users belongs to. Other thing I can think of using cURL commands to update the permissions on the groups and that would be quick. refer [1] for the same

However, alternate is to create one group with the denied ACL for a path and add all the Users to it. This is not recommendable.

[1]https://balawcm.wordpress.com/2013/02/13/curl-it-out-adobe-cq5-curl-commands-and-usage/