Disable dialog fields based on user group | Community
Skip to main content
New Participant
May 10, 2023
Solved

Disable dialog fields based on user group

  • May 10, 2023
  • 2 replies
  • 929 views

I am trying to make a few page properties field read-only for a select group of users under a group.

I can show/hide those fields based on the Granite Render Condition, but my requirement is to show the fields in a disabled way.

 

I can do it via a JS and then fire a servlet to determine the group and disable these fields.

 

But I am trying to understand if there is a clean way to do it, similar to Granite Render Condition.

@arunpatidar 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

arunpatidar
arunpatidarAccepted solution
New Participant
May 11, 2023
Pawan-Gupta
New Participant
May 10, 2023

if you have fix set of user group for known set of properties then you can try it via using node level ACL's permission and implementing like jcr:modifyProperties or similar. check here 

 

https://experienceleague.adobe.com/docs/experience-manager-65/administering/security/user-group-ac-admin.html?lang=en