Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

How to delete rep:policy nodes ?

Avatar

Level 4

Hi, 

We have around 22k allow nodes under /content/dam/rep:policy which needs to be removed. When we try to run a script we get Persistence Exception. neither we can delete it directly from CRXDE. 
Appreciate your thoughts? 

Thanks 

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Hi @mrudul ,

 

You could do it using the Access Control editor, which is part of crx/explorer

http://localhost:4502/crx/explorer/index.jsp 

 

This tool will allow you to remove ACL from a node.

Keep in mind, OOTB you cannot remove ALL user's ACL

 

Also revisit your ACL policy, 22K nodes is quite a lot.

 

Hope that helps!

 

Regards,

Nitesh

View solution in original post

3 Replies

Avatar

Correct answer by
Employee Advisor

Hi @mrudul ,

 

You could do it using the Access Control editor, which is part of crx/explorer

http://localhost:4502/crx/explorer/index.jsp 

 

This tool will allow you to remove ACL from a node.

Keep in mind, OOTB you cannot remove ALL user's ACL

 

Also revisit your ACL policy, 22K nodes is quite a lot.

 

Hope that helps!

 

Regards,

Nitesh

Avatar

Employee

We have a similar use case having 22k rep:policy nodes under /content/projects that we need to clean up on Prod author assets instance. I can't access /crx/explorer/index.jsp on prod author as admin.What do you suggest? @nitesh_kumar 

Avatar

Community Advisor

You can use  to cleans ACL entries when configuration is changed

https://github.com/Netcentric/accesscontroltool