Question
We want some users to view the Profile Stats dashboard, open the profiles behind its charts, and review potential matches, without being able to merge profiles or change any data. Is there a read-only setting for the dashboard? And can we limit which users see it?
Answer
The dashboard has no read-only setting of its own. Its documented settings control who can see the dashboard and its charts. What a user can change on the profiles behind it, such as editing, merging, or unmerging, is controlled by the data permissions of the user's roles.
Make users read-only
- Create a role for these users that has only
READaccess to the entity types and attributes they need. Don't grantCREATE,UPDATE,DELETE,MERGE,UNMERGE,INITIATE_CHANGE_REQUEST, orACCEPT_CHANGE_REQUEST. You set these permissions with the role-based metadata security APIs. - Check the users' other roles, including the roles of their groups. A user can do the most that any of their roles allows, so another role can still grant edit or merge access.
- Test with one user: they can open the dashboard and profiles but can't edit or merge them.
Users can still personalize their own dashboard, for example move, resize, or remove charts. This changes only their own view, not profile data.
Limit who sees the dashboard
- The whole dashboard: in the UI configuration file, add
canReadto the Dashboard screen in thelayoutsection, with the roles that may see it, for example"canRead": ["<RoleName>"]. - Individual charts: in UI Modeler, select a chart, set its Roles, and publish the dashboard.
Users with ROLE_UI_ALL_READONLY can see every screen and view regardless of these role-based visibility settings. The role gives view-only access to the UI and doesn't permit create, update, or delete actions. When you publish layout changes in UI Modeler, they overwrite users' personal dashboard layouts.
Comments
Please sign in to leave a comment.