tadijam47062732
18-11-2019
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
hamidk92094312
Employee
20-11-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
Arun_Patidar
MVP
21-11-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