Expand my Community achievements bar.

SOLVED

Hiding/disabling page properties or tabs by user group

Avatar

Level 3

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

1 Accepted Solution

Avatar

Correct answer by
Employee

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

View solution in original post

2 Replies

Avatar

Correct answer by
Employee

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

Avatar

Community Advisor

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