Hiding/disabling page properties or tabs by user group | Community
Skip to main content
tadijam47062732
Level 3
November 18, 2019
Solved

Hiding/disabling page properties or tabs by user group

  • November 18, 2019
  • 2 replies
  • 2788 views

Is there a way to show/hide page properties or tabs based on the user group?

It is also necessary to ensure that hiding or disabling of fields does not cause data to be deleted on submission of the dialog.

AEM 6.5, SPA + React

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 Hamid1350

Check and verify if you can achieve this by implementing ACL's i.e. jcr:modifyProperties, for the user or group ?   See privileges here:

User, Group and Access Rights Administration

2 replies

Hamid1350Adobe EmployeeAccepted solution
Adobe Employee
November 20, 2019

Check and verify if you can achieve this by implementing ACL's i.e. jcr:modifyProperties, for the user or group ?   See privileges here:

User, Group and Access Rights Administration

arunpatidar
Community Advisor
Community Advisor
November 21, 2019

Hi,

It is possible, you just need to write custom renderer which will check if the user belongs to a particular group, it will return true otherwise false.

Example

AEM - Granite Custom Render Conditions using Servlet

How to get user group -

aem63app-repo/SimpleGetGroup.java at master · arunpatidar02/aem63app-repo · GitHub 

Arun Patidar