How to delete rep:policy nodes ? | Community
Skip to main content
Level 3
May 25, 2023
Solved

How to delete rep:policy nodes ?

  • May 25, 2023
  • 2 replies
  • 1181 views

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 

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 nitesh_kumar-1

Hi @mrudulmo ,

 

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

2 replies

nitesh_kumar-1
Adobe Employee
nitesh_kumar-1Adobe EmployeeAccepted solution
Adobe Employee
May 25, 2023

Hi @mrudulmo ,

 

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

Adobe Employee
January 3, 2024

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-1 

rawvarun
Community Advisor
Community Advisor
May 25, 2023

You can use  to cleans ACL entries when configuration is changed

https://github.com/Netcentric/accesscontroltool