Skip to content

How access works

View as Markdown

Access in Ligament decides who can see, create, change and delete which records, and which fields on them. Read this page first if you’re setting up access for a workspace, or if you need to work out why someone can or can’t see something.

You manage it in Settings › Access. Workspace owners and admins can open it; everyone else sees their own access through the Why panel on a record.

Block What it is Example in Northwind Group
Role What you give a person. Every member has one seat role (owner, admin, member, viewer or a custom role) and can hold more roles on top. team_lead (Team lead)
Permission set A bundle of grants: an entity, the actions allowed on it, which rows, which field levels, plus workspace capabilities. A role holds one or more sets. people.my_team: read and update the people who report to me
Restriction A rule that forbids something. It wins over every grant. people.no_phone_for_viewers: viewers never see phone numbers

Roles are what you hand out, permission sets say what a role allows, and restrictions take things away again. Details and examples: Roles, permission sets and restrictions.

A person holds:

  • their seat role, set in Settings › Members;
  • roles assigned to them directly, with or without an end date (Time-bound access);
  • roles mapped to a group they belong to (Groups);
  • roles from an approved elevation, a break-glass session or a delegation (Time-bound access).

An assignment that has ended stops counting at once. Nothing has to run for it to expire.

The same evaluator answers every request that reads or writes a record: in the app, through the REST API, through MCP tools, and with an API key. It decides in this order:

  1. It collects the person’s roles: seat role, assignments, group mappings, elevations and delegations, leaving out any that have ended.
  2. It looks for a grant. The permission sets of those roles must grant the action on the entity. No grant means no access, so an entity nobody has granted is closed.
  3. It works out the rows. Each grant can carry a row condition, such as “assigned to my group” or “below me in the reporting line”. The person gets the rows of any of their grants, minus the rows a restriction forbids.
  4. It works out the fields. Each field ends up hidden, masked, read or write: the highest level any of the person’s grants gives on that row, capped by restrictions.
  5. For a change, every field it touches must be writable for that person.

Grants add up, so a second role can only give more. Restrictions always win, so a restriction takes away even what another role grants. There are no priorities or rule orders to manage.

Owners and admins skip grants and see every row. A restriction with Enforce on owners and admins too switched on still applies to them; see Restrictions.

An API key acts as the person who made it, capped at their current role, and it also needs a scope for the route (see API keys). A key made by an owner acts as an admin. Automations run with the system’s access, so roles and restrictions don’t limit what a workflow step reads or writes.

A row condition compares one field of the record with a value or a token. The tokens are resolved for the person asking, on every request.

Token Means
@me the person’s user id, for example {{assigneeId}} eq @me
@my.groups the person’s groups (and the records linked to them), for example {{assignment_group}} in @my.groups
@me.descendants, @me.descendants_or_self, @me.ancestors records below (or above) the person in a hierarchy such as the reporting line; see Managers and their reports
@role.<name> a parameter of the role that granted the rule, such as @role.location
@today, @now the date or time now, with an offset such as @today-30d

Operators are eq, ne, contains, empty, not_empty, in, lt, lte, gt, gte and within. Conditions combine with all (and), any (or) and not. You build them with the condition builder in the permission set editor, or write them as JSON.

Level The person can
write see and change the field
read see it, not change it
masked see the shape of the value (h•••@northwind.example, •••••), not the value. Holders of pii.reveal can reveal it with a reason.
hidden not see it. A hidden field is left out of lists, records, search, reports and API responses, and filtering on it matches nothing.

Fields a set doesn’t list follow its grant: read for a set that grants read, write for one that grants update or create. A field you classify as personal data or sensitive is masked instead, unless a set gives it a level. A grant can also set levels for just the rows it covers, so the same field can be in clear on your own record and masked on someone else’s.

  • On a record, open More actions › Why can I see this? to see which role and set gave access: Why can I see this?
  • To see the app as someone else does, use View as.
  • Before you change a role or set, the plan shows who gains or loses what: Reviewing access changes.
  • Settings › Access › Entities shows, per entity, which role may do which action. Settings › Access › Audit lists every access change and who made it.