People, roles and permissions for working with agents
Who may do what, where, and until when.
In the adminPeopleAccess

| To | Run |
|---|---|
| Grant a role on part of the site | quilzo auth grant dana author --on /help |
| Give somebody a link that adds their passkey | quilzo auth enrol dana, or Give a passkey enrolment link beside them on this screen |
| A job for a set time | quilzo auth grant sam analyst --for 30d |
| Access that ends by itself | quilzo auth grant ... --until 2026-12-31 |
| A deny wins wherever it sits | quilzo auth deny sam publisher --on /legal |
| Why somebody can or cannot | quilzo auth explain sam publish |
| Take a grant back | quilzo auth revoke sam author --on /help |
| Let somebody decide one agent's runs | quilzo auth grant mo approve --on /@agents/newsletter |
| Give somebody a role an app declares | quilzo auth grant tess lab-samples/technician |
| Let somebody work on one collection of records | quilzo auth grant tech author --on /@data/samples |
| Break-glass when every admin token is lost | quilzo auth recover |
Roles: reader, author, publisher and admin. Jobs: analyst, compliance, support and auditor; an auditor's must end, so it takes --for or --until. An agent is a principal too (see agents as principals).
A grant or a deny on part of the site holds everywhere: on the command line, in the admin and over the machine interface. A list, a search or a diff shows only the pages the person may read, a publish is refused if it would change a page they may not publish, and an export is refused if it would hold a page or a collection they may not read.
Changes that take two administrators
One administrator asks and another approves (NIST SP 800-53 AC-5, CM-5(4) and AU-9(5)):
- making somebody an administrator of anything;
- issuing an administrator's token;
- an enrolment link for an administrator;
- the provisioning token while a group mapping makes administrators, or waits to (see Provisioning);
- a setting weaker than its default;
- fewer approvals for a change (
review.required_approvals,approval.required_humans); - moving the audit log (
quilzo auditlog dir); - a shield playbook change, or letting held playbooks act again.
Asked here or on the command line, a change waits under Waiting for a second administrator for up to a week. Nobody approves their own. An approved token or enrolment link is received once, by whoever asked, within a day, with quilzo pending redeem ID. An enrolment link or a provisioning token can also be received on this screen, with Receive the link or Receive the token.
| To | Do |
|---|---|
| See what is waiting | quilzo pending, or this screen |
| Approve or decline one | quilzo pending approve ID, quilzo pending decline ID, or the buttons here |
| Take back your own | quilzo pending withdraw ID |
| Receive an approved token or link, once | quilzo pending redeem ID, or Receive here |
| See what approving a group mapping lets the provisioning token do | quilzo pending show ID |
A group mapped to administrator lets whoever holds the provisioning token make anybody an administrator, by putting them in the group. So quilzo pending show ID lists, for such a mapping, every provisioning token that works now: who made it, when, and how it was approved. This screen shows the same under Approving this lets the provisioning token make administrators.

A store with one administrator is not left unable to change anything: their change is made as they ask, and the record says it was approved alone. Not for a day after another administrator is removed, though: until then the one left cannot approve anything alone (their own requests, playbooks, policy changes, installs, the first token), unless a second administrator holds the role again. A store that only ever had one administrator is unaffected.
The standing is the session's, not only the person's. A session confined to /@security, or capped at reader, cannot change the shield, the organisation's policy or another administrator's standing, such as unlocking one, even when its person administers the whole store.
Review who has access
Access granted to unblock somebody is never taken back by itself. So an administrator reviews, every access.review.every, the access only Quilzo holds, and keeps or revokes each part of it:
- every grant made by hand, with a role in an app counted once;
- what each identity provider group means here, one item for each group however many people are in it;
- every long-lived token.
Sessions end within a day, an agent's identity is renewed rather than reviewed, a grant that provisioning made is the identity provider's to review, and the site's members hold nothing in the admin, so none of those is in it. A review falls due every 90 days by default (access.review.every, between 30 and 365 days), and never further apart than ac-02_odp.10 when the organisation declares it (see NIST parameters).
| To | Run |
|---|---|
| Start one: a snapshot, one review open at a time | quilzo access review start, or Start a review on this screen |
| See what there is to decide, dormant and privileged first | quilzo access review items [--json] |
| Revoke an item, at once | quilzo access review decide 3 revoke, or Revoke |
| Keep one, and say why | quilzo access review decide 4 keep --why "edits the handbook", or Why and Keep |
| Close it, once every item is decided | quilzo access review close, or Close the review |

Each item says how and when it was granted, by whom for a grant made by hand, until when, and when it was last active. The rules are the ones that make a review one:
- Anything nobody has used for ninety days is tagged dormant: proposed revoke and listed first, then items tagged privileged: administration, the security, compliance or log areas, or a permission only an administrator otherwise holds. Keeping privileged access needs a reason.
- Nobody decides their own access, or a group they are in. An item of your own says so, and waits for another administrator.
- The reviewer is a person. On this screen that means signed in with two factors: a session made from a pasted token is told Deciding needs a sign-in with two factors in place of the buttons. On the command line it means a person's own token, one named
clior after an address (dana@example.org); any other token is taken for a program's, and a program reviews nothing. Starting, listing, deciding and closing each take an administrator of the whole store. - A revoke takes effect at once, through the path that granted the access: the binding is removed, the token is revoked with every session made from it, or the group's mapping is taken off with what it gave. A revoke that would leave nobody able to administer the store is refused. There is no reduce: revoke, then grant the lower role.
- Closing is refused while anything is undecided. It writes
review.closedwith the counts, and the evidence for the controlquilzo/AC-2 account review, whichquilzo assurance reportreads (see evidence over time). - A store with one administrator closes the review alone, says how much of theirs went unreviewed, and
approval.alonecounts it; except for a day after another administrator was removed.
When no review has closed within the period, the posture finding access.review-due says so, and it is mailed to the security contact (see Security posture). Reasons are kept in the review's file in the store, access/reviews/ID.json, and never in the audit log, whose record says only that one was given.
Permissions for working with agents
Roles decide what somebody may do to content. Working with agents brings decisions that are not about content, and each has a permission of its own:
| Permission | Lets somebody | Comes with the role |
|---|---|---|
run-agents | Start an agent's run | author |
approve | Decide what an agent waits for a person to decide, and calls held through the MCP gateway | admin |
manage-agents | Declare and change agents: what they may do, their credentials, evaluations and lessons | admin |
use-models | Use the store's models: the writing assistant, drafting, and the model gateway | author |
install-features | Install, remove and roll back features | admin |
A store that grants none works as before: each permission comes with the role in the last column. Any of them can also be granted on its own, on part of the store. /@agents is every agent and /@agents/NAME one of them:
quilzo auth grant mo approve --on /@agents/newsletter
quilzo auth grant kai manage-agents --on /@agents/newsletter
quilzo auth grant lee use-models
On the People screen, a permission is one of the choices beside the roles and jobs. A permission is a binding like any other: it can end by itself, it can be denied (quilzo auth deny ed approve --on /@agents/payroll), and quilzo auth explain names it. Identity provider groups named after a permission grant it over the store, as groups named after a role do.
Who approves an agent's actions
What an agent waits for is decided by whoever answers for it, not only by administrators:
- the agent's sponsor (see agent identity);
- whoever holds
approveon the agent, or on all agents; - whoever holds
approveon the page the action would change.
Approvals shows each person what they may decide, and they open and decide those runs without the rest of the agents studio. A model never decides. Naming an agent's sponsor stays an administrator's decision, because whoever could name the sponsor could name themselves and approve what they changed.
The person who started a run does not let its risky steps go ahead while somebody else could: a step that pays, publishes, deletes, sends or writes to another system waits for another person who may approve it. They can still decline it, answer its questions and approve changes to a draft. When nobody else could decide, as in an installation run by one person, they may approve it themselves; the audit log records the approval as made alone, and posture counts how many were.
Tokens and permissions
A token caps what its session may do. Signing in with an identity provider or a passkey gives a session the highest role the person holds anywhere, so an analyst, administrator of /@security, signs in as an administrator, and the policy still keeps them to security. A permission granted on its own is capped by the token's path and its limits, so a reader's own token can use the approve permission they were given. A read-only token never uses a permission, and a permission that comes from a role is capped by the token's role, as everything else is. The same limits hold in the admin: a session made from a read-only token approves nothing, and one capped at reader or confined to part of the site approves only what that token could.
A permission granted alone reaches the commands its own work needs. Approve, granted on an agent or on part of the site, reaches quilzo approvals, agent approve, agent decline and agent answer; install-features reaches feature list, feature show and feature check, and the installs waiting in approvals; run-agents reaches agent resume; and each of the agent permissions, held on /@agents or one agent, reaches agent list and agent show. Each command still decides the exact run or agent itself, so this widens only what can be asked, not what anybody may decide.
quilzo auth list and quilzo token list show a reader their own grants and tokens. Whoever may grant access sees everybody's grants, whoever may manage tokens everybody's tokens, and somebody who has not shown who they are is shown nobody's.
Roles in an app
An app built from a feature has people of its own: a lab has technicians who record samples and a manager who publishes the samples page. The feature declares those roles over its own records, pages and agents (see roles a feature declares), and you give them to people:
quilzo auth roles # every role the installed features declare
quilzo auth grant tess lab-samples/technician --for 90d
quilzo auth revoke tess lab-samples/technician
On the People screen, a role in an app is one of the choices, and somebody who holds one sees it as one row with what it grants. A role is the bindings it stands for, each marked with the role, so quilzo auth explain names it, and it is removed whole: revoking one of its bindings by hand changes nothing. An identity provider group can be mapped to one (see Provisioning).
