Expand my Community achievements bar.

Join us in celebrating the outstanding achievement of our AEM Community Member of the Year!
SOLVED

How to remove "rep:policy" node?

Avatar

Level 4

Hello,

I want to remove "rep:policy" node.

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

Thanks!

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

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

View solution in original post

5 Replies

Avatar

Correct answer by
Employee Advisor

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

Avatar

Level 10

from useradmin remove the permissions OR programatically

Avatar

Level 3

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]

Avatar

Level 9

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

Avatar

Level 4

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.