Role Permissions
Every permission a role may give. A role is a named list of what the people given it may do, wherever they sign in.
A role is kept in a project or across its workspace. A role in a project gives what that project’s permissions allow. A role kept at the workspace may also give the workspace’s own, such as billing and which projects exist, and gives its project permissions in every project.
A permission is written <resource>:<verb>. With no reach after the verb, a person reads and writes their own rows. .named reaches the rows of one owner the request names, and .all every owner’s rows: every person’s, and the project’s own. A model or an operation after a second colon narrows the permission to that one. Reading and writing records may name one field of a model, as <model>.<field> (records:write:order.status): that is how a field the model guards is given, and a grant on the model alone does not reach it. See Guarded fields.
Each permission stands for itself. Changing a record and creating one are two permissions, so a role that should do both lists both.
The platform refuses any permission that is not on this list, and says why. A role holds no wildcard: it names each permission it gives.
What a role may give
| Permission | What it does | Kept in |
|---|---|---|
records:read | Read records. | A project or the workspace |
records:read:<model> | Read records. For the one model it names. | A project or the workspace |
records:read.all | Read records. Every owner’s rows. | A project or the workspace |
records:read.all:<model> | Read records. Every owner’s rows. For the one model it names. | A project or the workspace |
records:create | Create records. | A project or the workspace |
records:create:<model> | Create records. For the one model it names. | A project or the workspace |
records:write | Change records: update, duplicate, revert, and share them. | A project or the workspace |
records:write:<model> | Change records: update, duplicate, revert, and share them. For the one model it names. | A project or the workspace |
records:write.all | Change records: update, duplicate, revert, and share them. Every owner’s rows. | A project or the workspace |
records:write.all:<model> | Change records: update, duplicate, revert, and share them. Every owner’s rows. For the one model it names. | A project or the workspace |
records:delete | Delete records. | A project or the workspace |
records:delete:<model> | Delete records. For the one model it names. | A project or the workspace |
records:delete.all | Delete records. Every owner’s rows. | A project or the workspace |
records:delete.all:<model> | Delete records. Every owner’s rows. For the one model it names. | A project or the workspace |
records:publish | Publish and unpublish record versions. | A project or the workspace |
records:publish:<model> | Publish and unpublish record versions. For the one model it names. | A project or the workspace |
records:publish.all | Publish and unpublish record versions. Every owner’s rows. | A project or the workspace |
records:publish.all:<model> | Publish and unpublish record versions. Every owner’s rows. For the one model it names. | A project or the workspace |
records:attribute | Name the user a record belongs to when it is created, and hand it to another owner later. | A project or the workspace |
records:attribute:<model> | Name the user a record belongs to when it is created, and hand it to another owner later. For the one model it names. | A project or the workspace |
search:read | Search records by text. | A project or the workspace |
search:read:<model> | Search records by text. For the one model it names. | A project or the workspace |
embeddings:read | Search records by meaning, and read a record’s embeddings. | A project or the workspace |
embeddings:write | Write and delete a record’s embeddings. | A project or the workspace |
schemas:read | Read the project’s model schemas. | A project or the workspace |
drafts:read | Read unpublished versions, as a preview does. | A project or the workspace |
files:read | Read and list files. | A project or the workspace |
files:read.all | Read and list files. Every owner’s rows. | A project or the workspace |
files:write | Upload files and edit their details. | A project or the workspace |
files:write.all | Upload files and edit their details. Every owner’s rows. | A project or the workspace |
files:delete | Delete and restore files. | A project or the workspace |
files:delete.all | Delete and restore files. Every owner’s rows. | A project or the workspace |
notifications:read | Read notifications and notification preferences. | A project or the workspace |
notifications:read.all | Read notifications and notification preferences. Every owner’s rows. | A project or the workspace |
notifications:write | Send notifications, register devices, and set preferences. | A project or the workspace |
notifications:write.named | Send notifications, register devices, and set preferences. The rows of one owner the request names. | A project or the workspace |
notifications:write.all | Send notifications, register devices, and set preferences. Every owner’s rows. | A project or the workspace |
notifications:consent | Set the notification preference of a user the caller names, in a category the project makes opt-in. | A project or the workspace |
pushcredentials:read | See which push provider credentials the project holds. | A project or the workspace |
pushcredentials:write | Upload and remove the project’s push provider credentials. | A project or the workspace |
notes:read | Read notes. | A project or the workspace |
notes:read.all | Read notes. Every owner’s rows. | A project or the workspace |
notes:write | Change and delete notes. | A project or the workspace |
notes:write.all | Change and delete notes. Every owner’s rows. | A project or the workspace |
notes:create | Write a note, or a reply in a thread. | A project or the workspace |
approvals:read | See the actions held for approval, and how far each has got. | A project or the workspace |
approvals:write | Propose an action for approval, hand one off, and decide one. | A project or the workspace |
rooms:read | Join a room that has a shared document: receive it live, see who is in it, and be seen. | A project or the workspace |
rooms:read:<model> | Join a room that has a shared document: receive it live, see who is in it, and be seen. For the one model it names. | A project or the workspace |
rooms:write | Change a room’s shared document. | A project or the workspace |
rooms:write:<model> | Change a room’s shared document. For the one model it names. | A project or the workspace |
presence:read | Join a room that only shows who is there: see them and be seen. | A project or the workspace |
presence:read:<model> | Join a room that only shows who is there: see them and be seen. For the one model it names. | A project or the workspace |
operations:read | Read the project’s operations and their executions. | A project or the workspace |
operations:execute | Run operations. | A project or the workspace |
operations:execute:<operation> | Run operations. For the one operation it names. | A project or the workspace |
operations:write | Author operations, and retry or dismiss their dead letters. | A project or the workspace |
agents:read | Read the project’s agents, and every run of them with its trace. | A project or the workspace |
agents:execute | Run agents: send one a message, or call it once. | A project or the workspace |
agents:execute:<model> | Run agents: send one a message, or call it once. For the one model it names. | A project or the workspace |
agents:write | Author agents: their instructions, model, tools, child agents, limits and MCP servers, and remove a user’s connection to one. | A project or the workspace |
agenttools:execute | Use a tool of a remote MCP server registered on an agent. | A project or the workspace |
agenttools:execute:<model> | Use a tool of a remote MCP server registered on an agent. For the one model it names. | A project or the workspace |
brief:read | Read the project brief. | A project or the workspace |
brief:write | Change the project brief. | A project or the workspace |
appconfig:read | Read the configuration of the app an operation belongs to. | A project or the workspace |
schedules:read | Read schedules. | A project or the workspace |
schedules:write | Create, change and delete schedules. | A project or the workspace |
hooks:read | Read event hooks and their deliveries. | A project or the workspace |
hooks:write | Create, change and delete event hooks. | A project or the workspace |
authclients:read | Read auth clients. | A project or the workspace |
authclients:write | Register and change auth clients. | A project or the workspace |
domains:read | Read custom domain claims. | A project or the workspace |
domains:write | Claim and verify custom domains. | A project or the workspace |
loginpages:read | Read sign-in pages and their drafts. | A project or the workspace |
loginpages:write | Change sign-in pages, and release them. | A project or the workspace |
secrets:read | Read the project’s secrets. | A project or the workspace |
secrets:list | List the names of the project’s secrets. | A project or the workspace |
secrets:put | Set and rotate the project’s secrets. | A project or the workspace |
secrets:delete | Delete the project’s secrets. | A project or the workspace |
appsecrets:read | Read an app’s secrets. | A project or the workspace |
appsecrets:list | List the names of an app’s secrets. | A project or the workspace |
appsecrets:put | Set and rotate an app’s secrets. | A project or the workspace |
appsecrets:delete | Delete an app’s secrets. | A project or the workspace |
opsecrets:read | Read the secret that signs the project’s operation deliveries. | A project or the workspace |
opsecrets:write | Replace the secret that signs the project’s operation deliveries. | A project or the workspace |
settings:read | Read the project’s settings: locales, context dimensions, the variant catalogue, notification categories. | A project or the workspace |
settings:write | Change the project’s settings, and publish. | A project or the workspace |
designtokens:read | Read the project’s design tokens. | A project or the workspace |
designtokens:write | Change the project’s design tokens. | A project or the workspace |
models:read | Read models. | A project or the workspace |
models:write | Create, change and delete models. | A project or the workspace |
configs:read | Read configs. | A project or the workspace |
configs:write | Create, change and delete configs. | A project or the workspace |
apps:read | See the apps installed in the project and their status. | A project or the workspace |
apps:write | Install, configure and remove apps. | A project or the workspace |
events:read | Read the project’s history of events. | A project or the workspace |
targeting:debug | Explain why a variant was chosen for a request. | A project or the workspace |
visitors:forward | State the address and the location of the visitor a server is calling for. | A project or the workspace |
apikeys:read | Read the project’s API keys. | A project or the workspace |
apikeys:write | Create, rotate, change and revoke the project’s API keys. | A project or the workspace |
organizations:read | Read the organisation tree, its members, limits and usage. | A project or the workspace |
organizations:write | Move, suspend and resume organisations, start and drop their own pools, set their limits, where their people stand and the mail sent for them, and staff them. | A project or the workspace |
orgsettings:write | Rename an organisation and change how it is presented, who may join it and how its people sign in. Given in an organisation, that organisation and the ones beneath it. | A project or the workspace |
organizations:create | Create an organisation, with its first member and what it is provisioned with. | A project or the workspace |
organizations:delete | Schedule an organisation’s deletion, with everything beneath it. It is removed when the retention window closes, unless it is resumed first. | A project or the workspace |
organizations:reach | Read every organisation of the project in one query. | A project or the workspace |
members:read | See who holds which role, and who has been invited. | A project or the workspace |
members:write | Give and remove roles, and invite people. A grant is capped by what the granter holds. | A project or the workspace |
roles:read | See the roles defined in the project. | A project or the workspace |
roles:write | Define, change and disable roles. | A project or the workspace |
projects:read | Read the project. | A project or the workspace |
projects:write | Rename the project and change its settings. | A project or the workspace |
project:stand | Act as the project: reach the project’s own records, files and notes, the ones no person owns. | A project or the workspace |
project:manage | Manage a project: everything a person may hold in it. | A project or the workspace |
projects:create | Create a project. | The workspace |
projects:delete | Delete a project, reactivate it, and purge it. | The workspace |
tenants:read | Read the workspace. | The workspace |
tenants:write | Rename the workspace. | The workspace |
tenants:delete | Ask for the workspace to be deleted. | The workspace |
audit:read | Read the audit trail. | A project or the workspace |
export:run | Export a project’s data. | The workspace |
billing:read | Read plans and prices. | The workspace |
billing:manage | Manage the workspace’s subscription. | The workspace |
usage:read | Read the workspace’s usage. | The workspace |
controlkeys:read | Read the workspace’s own admin keys. | The workspace |
controlkeys:write | Create, rotate and revoke the workspace’s own admin keys. | The workspace |
tenanthooks:read | Read the workspace’s hooks and their deliveries. | The workspace |
tenanthooks:write | Create, change and delete the workspace’s hooks. | The workspace |
apps:install | Install an app into a project from the workspace. | The workspace |
tenant:manage | Manage a workspace: everything a person may hold in it and in its projects. | The workspace |
users:read | Read users’ accounts. | A project or the workspace |
users:read.named | Read users’ accounts. The rows of one owner the request names. | A project or the workspace |
users:read.all | Read users’ accounts. Every owner’s rows. | A project or the workspace |
users:write | Change users’ accounts: update, suspend, merge, and send an access link. | A project or the workspace |
users:write.all | Change users’ accounts: update, suspend, merge, and send an access link. Every owner’s rows. | A project or the workspace |
users:setup | Finish setting up an account nobody has signed in to: mark its address verified and set its first password. | A project or the workspace |
users:delete | Delete a user’s account. | A project or the workspace |
users:delete.all | Delete a user’s account. Every owner’s rows. | A project or the workspace |
users:create | Create a user. | A project or the workspace |
identities:read | Find which user holds an identity at an app’s own system. | A project or the workspace |
identities:delete | Remove an identity an app names at its own system, and the account when nothing else is theirs. | A project or the workspace |
usersecrets:read | Read a user’s secrets. | A project or the workspace |
usersecrets:list | List a user’s secrets. | A project or the workspace |
usersecrets:put | Store a user’s secret. | A project or the workspace |
usersecrets:delete | Delete a user’s secret. | A project or the workspace |
signinproviders:read | Read sign-in providers. | A project or the workspace |
signinproviders:write | Add, change and remove sign-in providers. | A project or the workspace |
Giving a role
Writing a role takes roles:write, and giving someone a role takes members:write. Nobody puts on a role, or gives with one, a permission they do not hold themselves: a key or a person who manages roles and holds nothing else can write a role that gives nothing else.