Question :
How to define permission on the relationship ?
Answer :
The permission on the relationship can be defined in metadata permissions which are permitted to access from the entity level, then only it leveraged to the relationship level. To achieve this requirement, you may try to define the role and permissions at the entity level as well as the relationship level. A sample configuration is given below :
{
"role": "<role_name>",
"filter": "equals(type,'configuration/entityTypes/<entity_type>')",
"access": [
"CREATE",
"READ",
"UPDATE",
"DELETE",
]
},
{
"uri": "configuration/relationTypes/<relation_type>",
"permissions": [
{
"role": "<role_name>",
"filter": "equals(type,'configuration/relationTypes/relation_type')",
"access": [
"CREATE",
"READ",
"UPDATE",
"DELETE",
]
},
Reference documentation :
- https://docs.reltio.com/en/explore/get-going-with-apis-and-rocs-utilities/reltio-rest-apis/engage-apis/configuration-api/role-based-security/data-security
- https://docs.reltio.com/en/explore/get-going-with-apis-and-rocs-utilities/reltio-rest-apis/engage-apis/configuration-api/role-based-security/metadata-security
Comments
Please sign in to leave a comment.