How to revoke user permissions to a folder for all users in CQ5.6.1? | Community
Skip to main content
cquser_cquser
Level 2
October 21, 2015
Solved

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

  • October 21, 2015
  • 2 replies
  • 1065 views

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?

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 smacdonald2008

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. 

2 replies

smacdonald2008
smacdonald2008Accepted solution
Level 10
October 21, 2015

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. 

Lokesh_Shivalingaiah
Level 10
October 21, 2015

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/