Disable dialog fields based on user group | Community
Skip to main content
Level 3
May 10, 2023 5:38 PM UTC
Solved

Disable dialog fields based on user group

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.
arunpatidar
arunpatidarAccepted solution
New Participant
May 11, 2023 8:22 AM UTC

2 replies

arunpatidar
arunpatidarAccepted solution
New Participant
May 11, 2023 8:22 AM UTC
Pawan-Gupta
Level 8
May 10, 2023 7:48 PM UTC

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

Translate