Hi Abhimanyu
One way to set the permissions of an attribute to be 'Read Only' is by using Metadata Security.
Using metadata security configuration, we can define the access to each entity, attribute etc., role wise.
Sample config:
[ {
"uri": "configuration/entityTypes/HCP/attributes/HCPId",
"permissions": [
{
"role": "ROLE_SAMPLE_ADMIN",
"access": [
"MERGE",
"UNMERGE",
"READ",
"UPDATE",
"CREATE"
]
},
{
"role": "ROLE_SAMPLE_READONLY",
"access": [
"READ"
]
}
]
}]
You can read more about it here -
https://docs.reltio.com/en/explore/embark-on-your-journey/what-to-know-before-you-set-off/security/understanding-authorization/role-based-security/metadata-security#ariaid-title1
Thanks
Aditi
------------------------------
Aditi Verma
------------------------------