Role based access for facets in Profile view
Learn about the role based access for facets.
The Profile view in the Hub displays entity details in different facets. You can configure the layout of this view in the UI Modeler. For more information, see topics Profile Attribute Facets and Configure your profile pages.
When you edit a profile, you can add, edit, and delete details in each of the facets available in the Profile view. To enhance security in this view, you can also set up role-based access control for the following facets in the Profile view:
- Attributes view
- Relations view
- Single attribute view
- Hierarchy view
- Image attribute view
In the UI configuration file, configure these role-based access using the canCreate, canRead, canUpdate, and canDelete properties. See an example below:
{
"point": "com.reltio.plugins.ui.view",
"id": "com.reltio.plugins.entity.org.EmployeesView",
"class": "com.reltio.plugins.entity.RelationsView",
"caption": "Employees",
"content": {
"inRelations": [
"configuration/relationTypes/Employees"
]
},
"canUpdate": {
"roles": [
"ROLE_A360_STEWARD"
]
}
}
Based on the above example, only a user who is assigned the ROLE_A360_STEWARD
role can update details in the Employees view facet (which is a relations facet). Similarly, you can use the canCreate, canRead, and canDelete properties in the UI configuration file to determine who can add, view, and delete details in the facets.