Docs
On this page
concept3 min readApplication: Platform

Roles

How roles grant access in Servicely, how users get them, and how to plan role levels for an application.

A role is a named grant that permissions, menus and other features check before they let a user act. Roles decide what each person can see and change, and you need the administrator role to create one or to give one to a user or group.

How roles grant access

Roles are additive. To give a user access to something, you give them a role that a rule allows. A user with several roles gets everything any of those roles allows.

These features check a user’s roles:

Feature How it uses roles
Table, field and transition permissions Roles lists the roles a rule applies to.
Menu sections and items Permitted roles lists the roles that see the entry.
Application properties Roles lists the roles that can read the property.
Table record restrictions The Query script tests the user’s roles.
Server and client scripts A script tests the user’s roles.

Two of these can also test for a missing role. A permission with Negate roles set to Yes applies to users who hold none of its roles. A table record restriction’s Query script can restrict users who lack a role. The default Incident restriction does this for users without itsm_agent.

Roles are listed under Access & security → Roles & permissions → Roles in the Administration workspace. A role has a Name and a Description. The name is what permissions, menus and scripts refer to, for example itsm_agent.

How users get roles

A user holds a role in two ways:

  • The role is on the user record.
  • The user is a member of a group that holds the role.

A user’s roles are the union of both. A group’s roles apply to every member while they stay in the group.

Roles that contain roles

A role can contain other roles. A user or group that holds the containing role also holds every role it contains, and every role those roles contain. The Roles tab of a role lists the roles it contains.

The itsm_administrator role on the Roles tab, which lists application_administrator, itsm_agent and itsm_manager under Contains roles.

The administrator role of a default application contains the other roles of that application. A user who holds itsm_administrator has the agent and manager rights as well, without being given itsm_agent or itsm_manager.

Base roles

Two platform roles give the access most users need:

Role Typical holder
platform_selfservice Every requester who raises and reads their own tickets
platform_agent Every agent who works tickets

Application roles sit on top of these, and the default ones contain the base role they need. itsm_agent contains platform_agent, and platform_agent contains platform_selfservice. The full list is in Platform roles.

Plan role levels for an application

Give a new application more than one level of access. Then more people than administrators can do the work, and nobody gets more than they need. The common pattern has three levels:

Level What the role allows
Agent Use the application’s process, for example work and complete tickets. No delete rights.
Manager Actions that need more responsibility, for example skipping a workflow status.
Administrator Delete records and configure the application, for example edit its properties.

The default applications follow this pattern. ITSM has itsm_agent, itsm_manager and itsm_administrator. Knowledge has knowledge_editor, knowledge_manager and knowledge_administrator.

Roles for people outside your organisation

platform_selfservice lets a requester read users, companies and locations, which they need to raise a ticket. Users from outside your organisation, such as vendors, often should not see that much. Create a separate role for them instead of changing platform_selfservice. Then add read access only to the records they need.

Application administration

application_administrator lets an application’s administrators maintain some platform records for their own application’s tables, such as classifications and SLA definitions. A user needs application_administrator together with the role the application names. The rules are in Platform table permissions.

Last updated 3 December 2026commit 8d233372fa05Chris Jones
Back to top