Docs
On this page
task3 min readApplication: IT Service Management

Set up the ITSM read-only role

Give non-agent users read-only access to the ITSM tables with the itsm_read_only role, and fix records, fields or SLAs they cannot see.

Set up the ITSM read-only role when people who are not agents need to read ITSM records, for example auditors or managers. They see the whole record but can change only what any requester can.

Before you begin

  • You need the administrator role.
  • Test the setup in a non-production instance first.
  • The users must already hold platform_selfservice and must not hold itsm_agent. An agent already has every read right this role gives, and the two roles conflict.

Steps

  1. Give the users itsm_read_only, directly or through a group. It includes platform_read_only [UNVERIFIED].

  2. To let them build their own reports and dashboards, also give them report_creator [UNVERIFIED]. They can then create private reports and read reports shared with them. report_editor is for agents.

  3. To let them read the CMDB, also give them cmdb_viewer. Do not give cmdb_manager, which makes them agents.

  4. To give them a left menu, give them navigation_menu and create menu items that only itsm_read_only can see. No menu items ship for this role. See Add or change a navigation menu entry.

  5. Review the Roles field of each SLA definition. Users with a role listed there can read the SLAs generated from it. Remove itsm_read_only if they should not see SLAs.

Result

The users can read ITSM Work, incidents, requests, problems, changes and all their tasks, with supporting data such as SLAs, classifications, groups and departments [UNVERIFIED]. Every field is read-only for them except the client journal of incidents and requests. They can raise their own incidents and requests and resolve or cancel them, but cannot change other statuses or create knowledge.

Troubleshooting

These problems affect instances whose ITSM security rules were changed before the role was added.

Records do not show

Cause: the incident or request record visibility restriction still limits every non-agent user to their own records.

Fix: change the condition so it excludes read-only users as well as agents, as in this incident example:

if (!user.hasAnyRole("itsm_agent", "itsm_read_only")) {
    answer = OR(
        EQUAL("Requestor", user.getID()),
        EQUAL("RequestedFor", user.getID())
    );
}

Fields do not show

Cause: a field permission that denies the field to users without itsm_agent is not overridden. The role adds allow permissions for the default agent-only fields on ITSM Work, Incident and ITSM Request [UNVERIFIED]. Fields you added are not in them.

Fix: add your fields to those allow permissions. If a reference field is still empty, give the role read access to the table it points to.

Existing SLAs do not show

Cause: an SLA gets its roles from its definition when it is created. SLAs created before itsm_read_only was added to the definition do not list it.

Fix: add the role to the Roles field of the existing SLA records.

Last updated 24 November 2026commit 88e011e506a8Chris Jones
Back to top