Skip to main content
Level 4
Oct 16, 2015 2:26 AM UTC
Solved

How to remove "rep:policy" node?

Hello,

I want to remove "rep:policy" node.

Is there a way to remove this node, except uploading package with overwrite mode?

Thanks!

joerghoh
joerghohAccepted solution
Adobe Employee
Oct 16, 2015 2:26 AM UTC

When you want to do it in code, you should use the Jackrabbit API. The API management isn't standardized in JCR.

regards,
Jörg

5 replies

Community Advisor
Oct 16, 2015 2:26 AM UTC

Can you please elaborate your question to understand what you want to do?

Translate
Level 3
Oct 16, 2015 2:26 AM UTC

You can do it via CRXDE Lite: right-click on the node, which you would like to remove rep:policy from, and choose Mixins... 

[img]mixins.png[/img]

remove rep:AccessControllable mixin from the popup window

[img]mixins-remove.png[/img]

Translate
Sham_HC
Level 10
Oct 16, 2015 2:26 AM UTC

from useradmin remove the permissions OR programatically

Translate
joerghoh
Adobe Employee
joerghohAdobe EmployeeAccepted solution
Adobe Employee
Oct 16, 2015 2:26 AM UTC

When you want to do it in code, you should use the Jackrabbit API. The API management isn't standardized in JCR.

regards,
Jörg

Translate
AmitVishwakarma
Community Advisor
Community Advisor
Jan 18, 2025 6:08 AM UTC

To remove the rep:policy node:

  1. Using CRX/CRXDE Lite: Navigate to the node and delete it directly.
  2. Using JCR API: Programmatically remove the node using node.remove() and session.save().
  3. Using AEM Console: Manually delete via the AEM Web Console.

Ensure to back up before deleting.

Translate
Amit Vishwakarma - Adobe Commerce Champion 2025 | 17x Adobe certified | 6x Adobe SME