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.
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @ashish_mishra1
There is no OOTB features available to disabled field. For the cleaner solution you can try EL
There you can write logic to return true false based on condition. e.g. for cqDesign
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
Hi @ashish_mishra1
There is no OOTB features available to disabled field. For the cleaner solution you can try EL
There you can write logic to return true false based on condition. e.g. for cqDesign