Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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

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