Skip to content

Why can I see this?

View as Markdown

Every record has a Why can I see this? panel. It tells you, in plain words, whether you can see, edit, delete and change the state of that record, and which of your roles gives you that. Use it when you can see something you didn’t expect, or when a button you need is missing.

  1. Open the record.
  2. Click More actions (the three dots at the top right) and choose Why can I see this?

The panel answers for you, now, using the same rules that decide every request. Here is Vic Viewer, the Facilities team lead in Northwind Group, looking at Hannah Becker’s person record:

The Why can I see this? panel on Hannah Becker's record: See yes, Edit yes, Delete no, Change state no, with the reporting-line path that gives Vic edit access

The top line sums up the four actions: See, Edit, Delete and Change state, each yes or no. Below it, each action opens to show why.

For a yes, you see the chain that allowed it: the role you hold, how you hold it, and the permission set that grants it.

You see It means
Set people.viewer Your seat role (here, viewer) includes this set.
Role team_lead (assigned directly) → Set people.my_team An admin gave you the role Team lead.
Role team_lead (delegated …, until 16 Dec 2026) Someone delegated their role to you until that date. See Delegations.
Role service_desk_lead (elevation …) You asked for the role for a few hours and it was approved.
an unconditional grant covers every record The set allows the action on every record of this kind.
Visible because Hannah Becker → Tomás Ortega → you (Reporting line, 2 levels) The record is below you in a reporting line, and this is the path. See Managers and their reports.

The See section also lists the fields: Can edit, Read only and Hidden. In the picture, Vic can edit Hannah’s job title and location, can see but not change her manager and login account, and can’t see her phone number at all.

For a no, the panel says why in one sentence:

Reason What you read, for example What to do
No grant “None of your roles grants delete on person.” Ask an admin for a role that includes it.
Outside your scope “This record is outside your update scope.” You can do this on some records of this kind, but not on this one (for example, it isn’t in your team). Check you’re on the right record, or ask an admin.
Restriction The restriction’s own message, such as “Viewers don’t see personal phone numbers.” Without a message: “A restriction forbids this delete (restrictions always win over grants).” Usually nothing: the rule is deliberate. Ask an admin if you think it’s wrong.
Field rule “A field rule refuses this change.” You can change the record, but not one of the fields you touched. Leave that field as it is, or ask an admin.
Closed record The record is resolved or closed, so it can’t be edited. Reopen it first.

You won’t see the panel for records you can’t see at all: those don’t open for you.

When the app or the API refuses a change, the message carries the same reason, plus a hint and a link to the explanation. Vic trying to change the job title of Lena Fischer, who isn’t in Vic’s team:

{
"error": "Not permitted to update this record",
"code": "row_mismatch",
"fix": "This record is outside your update scope on person.",
"explain": "/api/access/explain?entity=person&action=update"
}

The codes are no_grant, forbidden (a restriction), row_mismatch (outside your rows), field_level, app_access (you don’t have access to that app), key_scope (an API key lacks the scope) and locked (a closed record). See Errors.

Owners, admins and holders of the access.explain.others capability see an extra Explain for… box at the top of the panel. Pick a member, and the panel answers for them instead of you, with a View as button to see the whole app as they do (see View as).

GET /api/access/explain answers the same question. Parameters:

Parameter Value
entity Entity key, for example person (required)
action read (default), create, update, delete or transition
recordId A record, for a record-level answer
principal user:<user id> or role:<role key>. Leave it out to explain yourself. Others need an admin.
fields Comma-separated field keys, to limit the field levels returned
Terminal window
curl "https://app.ligament.ai/api/access/explain?entity=person&action=update&recordId=<Hannah's record id>&principal=user:<Vic's user id>" \
-H "authorization: Bearer $LIGAMENT_API_KEY"
{
"principal": { "kind": "user", "role": "viewer", "label": "Vic Viewer" },
"entity": "person",
"action": "update",
"allow": true,
"reason": "granted",
"rows": { "readable": "id is below you in Reporting line: 3 today" },
"fields": { "name": "write", "email": "write", "title": "write", "department": "write",
"manager": "read", "user": "read", "location": "write", "phone": "hidden" },
"trace": [
{ "step": "grant", "note": "set people.my_team (role \"team_lead\", direct): allow update where id in @me.descendants" },
{ "step": "fields", "note": "restriction people.no_phone_for_viewers caps phone (no read/update/create)" },
{ "step": "hierarchy", "note": "visible because Hannah Becker → Tomás Ortega → Vic Viewer (you) (hr.reporting, 2 levels)" }
],
"record": { "allow": true, "note": "matches grant 1: id is below you in Reporting line: 3 today" }
}

The output above is trimmed: the full trace has a step for each thing the evaluator checked. A key needs the records:read scope. POST with the same fields as JSON works too.

GET /api/access/effective?principal=user:<id>&entity=person gives the whole picture for a person instead of one action: every action allowed or not, the rows in words, and every field’s level. Leave out entity for all entities.

An agent connected to the MCP server can ask the same questions with these tools (scope records:read):

Tool Answers
access_whoami Who the key acts as: user, role, scopes.
access_explain Why a person may or may not do one action, on an entity or one record.
access_effective Everything a person can do, per entity.

access_explain takes entity, action, recordId, fields and principal ("self", {"user": "<id>"} or {"role": "<key>"}), and returns the same result as the API.