Docs
On this page
concept3 min readApplication: Platform

Permissions

How table, field and transition permissions decide what a user can do, and the order in which Servicely evaluates the rules.

A permission is a rule that allows or denies an operation on a table, a field or a workflow transition, for users with or without given roles. Read this page before you design a security model or when a user can or cannot see something, and you need the administrator role to change a permission.

Three types of permission

Type Protects
Table Create, read, update and delete of whole records
Field Read and write of named fields on a table
Transition Who can select a workflow transition

Permissions are listed under Access & security → Roles & permissions → Permissions in the Administration workspace.

A permission covers a whole table or field. To hide some of a table’s records from some users, use a table record restriction. See Restrict which records a user can see.

Parts of a permission

The empty Create Permission form, with Type, Advanced, Order, Admin overrides, Evaluate per record, Roles and Negate roles.
Field What it decides
Type Table, Field or Transition.
Tables or Table The tables the rule applies to. A rule with Advanced set to Yes, and every field rule, names one Table.
Fields For a field rule, the fields it protects.
Operations Create, Read, Update or Delete for a table rule. Read or Write for a field rule.
Action Allow or Deny. A new rule has Allow.
Advanced Yes adds a Condition and a Condition script. The rule then applies only to records that match. If you fill in both, both must match.
Active No turns the rule off. A new rule has Yes.
Order The rule’s place among rules for the same table. Lower numbers come first. A new rule has 50.
Admin overrides Yes means the rule does not apply to holders of administrator.
Evaluate per record For a table rule that allows read with a condition. The rule opens the table, then its condition filters each record. It has no effect on deny rules, field rules, or create, update and delete.
Roles The rule applies to users who hold any of these roles. With no roles, it applies to everyone.
Negate roles Yes makes the rule apply to users who hold none of the roles. Use it for deny rules, for example deny delete to anyone without itsm_administrator.
Description What the rule is for. Permission evaluation shows it.

How table permissions are evaluated

Servicely sorts the rules for a table, then tests them one at a time. The first rule that applies decides, whether it allows or denies. A rule that does not apply is ignored: its operation, roles or condition did not match. If no rule applies, access is denied.

  • Rules on a parent table also cover its child tables. A rule on Work covers Incident.
  • A rule for every table comes last. The default rule that gives administrator full access is one.
  • A rule with a condition needs a record to test. When there is none, the rule is ignored unless Evaluate per record is Yes.
  • If a condition or a condition script fails with an error, the answer is deny.

Evaluation order

Servicely sorts the rules by these keys, in this order:

Key Order
Table Rules on the table itself, then on each parent table in turn, then rules for every table
Operation Rules that name their operations, then rules for every operation
Order Lowest first
Action Deny before allow
Record ID Alphabetical, so the result is always the same

So a rule on the table itself always comes before a rule on its parent, whatever their Order values.

How field permissions are evaluated

Field rules are sorted and tested the same way. The difference is the default. When no field rule applies, the field takes the result of the table permission for the same operation. If a user can read the table, they can read its fields unless a field rule denies one.

So most models need table rules only. Add field rules to restrict particular fields.

Reference fields

A reference field shows its value only if the user can read both of these:

  • the field itself
  • the table the field refers to

For example, Assignment group on a ticket shows only to users who can read the field and the Group table.

Transition permissions

A transition permission restricts who can select a workflow transition. For example, the default HR rule denies every transition on HR records to users who hold none of hr_agent, hr_manager and hr_administrator. To restrict a transition by a condition on the record, use the condition on the workflow transition instead.

Test permissions

Permission evaluation, under Access & security → Roles & permissions, shows how Servicely decides. It takes a role or a user and a table, and optionally fields and a record ID. For each operation it gives the result and lists every rule in evaluation order, with the reason each one applied or was ignored. It covers table and field permissions.

Permission evaluation for the role platform_selfservice on the Incident table, where the rule ITSM - Self service CRU allows read.

To see the product as one user does, see Impersonate a user.

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