Hi Team,
We have a requirement to restict access of all attributes to read only based on specific attribute value and user should able to edit only that specific attributes.
We have RecordStatus attribute for an entity. RecordStatus has InDraft, InReview, Approved, Rejected.
If an entity has RecordStatus as "In Review", user should have write permission only on RecordStatus (User can change the value from In Review to Approved / Rejected) and should have read only access on other attributes values.
If an entity has other recordStatus value, user should able to create / update attributes values.
To achieve this, I have configured a custom role with filter condition and has CREATE/READ/UPDATE access for record status Approved/InDraft.
For InReview record status, configured only read only access and configured CREATE/READ/UPDATE for RecordStatus attributes.
I am not able to achieve the requirement. Can you please let me know is it possible to achieve this with custom roles and how to do it?
Thanks,