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

Disable the Edit options for child pages

Avatar

Level 2

Hi all,

I have to disable the Edit option for few pages. i gone though the Useradmin page with the admin login and unchecked the "Modify", "ReadACL", "EditACL" access. even though i can till see the edit options appear, but when i gone through the page as a author. i am unable to edit the content of the page.

Please advice how to disable the Edit options.

1534569_pastedImage_6.png

Permission  :

1534570_pastedImage_8.png

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi,

You can remove edit button instead by using rendercondition

granite/ui/components/coral/foundation/renderconditions/privilege

Render Condition — Granite UI 1.0 documentation

Similar way the lock button is disabled.

How to prevent page locking (through user rights or other means)?

If you need to do it with Group, you can use Sling Feature Flag

Sling Feature Flag in AEM

Thanks

Arun



Arun Patidar

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi,

You can remove edit button instead by using rendercondition

granite/ui/components/coral/foundation/renderconditions/privilege

Render Condition — Granite UI 1.0 documentation

Similar way the lock button is disabled.

How to prevent page locking (through user rights or other means)?

If you need to do it with Group, you can use Sling Feature Flag

Sling Feature Flag in AEM

Thanks

Arun



Arun Patidar