Expandir minha barra de realizações na Comunidade.

Mark Solution

Esta conversa foi bloqueada devido à inatividade. Crie uma nova publicação.

SOLUCIONADO

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 Solução aceita

Avatar

Resposta correta de
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. 

Ver solução na publicação original

2 Respostas

Avatar

Resposta correta de
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/