Skip to Content
API ReferenceRole Permissions

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

PermissionWhat it doesKept in
records:readRead records.A project or the workspace
records:read:<model>Read records. For the one model it names.A project or the workspace
records:read.allRead 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:createCreate records.A project or the workspace
records:create:<model>Create records. For the one model it names.A project or the workspace
records:writeChange 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.allChange 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:deleteDelete records.A project or the workspace
records:delete:<model>Delete records. For the one model it names.A project or the workspace
records:delete.allDelete 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:publishPublish 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.allPublish 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:attributeName 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:readSearch 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:readSearch records by meaning, and read a record’s embeddings.A project or the workspace
embeddings:writeWrite and delete a record’s embeddings.A project or the workspace
schemas:readRead the project’s model schemas.A project or the workspace
drafts:readRead unpublished versions, as a preview does.A project or the workspace
files:readRead and list files.A project or the workspace
files:read.allRead and list files. Every owner’s rows.A project or the workspace
files:writeUpload files and edit their details.A project or the workspace
files:write.allUpload files and edit their details. Every owner’s rows.A project or the workspace
files:deleteDelete and restore files.A project or the workspace
files:delete.allDelete and restore files. Every owner’s rows.A project or the workspace
notifications:readRead notifications and notification preferences.A project or the workspace
notifications:read.allRead notifications and notification preferences. Every owner’s rows.A project or the workspace
notifications:writeSend notifications, register devices, and set preferences.A project or the workspace
notifications:write.namedSend notifications, register devices, and set preferences. The rows of one owner the request names.A project or the workspace
notifications:write.allSend notifications, register devices, and set preferences. Every owner’s rows.A project or the workspace
notifications:consentSet the notification preference of a user the caller names, in a category the project makes opt-in.A project or the workspace
pushcredentials:readSee which push provider credentials the project holds.A project or the workspace
pushcredentials:writeUpload and remove the project’s push provider credentials.A project or the workspace
notes:readRead notes.A project or the workspace
notes:read.allRead notes. Every owner’s rows.A project or the workspace
notes:writeChange and delete notes.A project or the workspace
notes:write.allChange and delete notes. Every owner’s rows.A project or the workspace
notes:createWrite a note, or a reply in a thread.A project or the workspace
approvals:readSee the actions held for approval, and how far each has got.A project or the workspace
approvals:writePropose an action for approval, hand one off, and decide one.A project or the workspace
rooms:readJoin 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:writeChange 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:readJoin 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:readRead the project’s operations and their executions.A project or the workspace
operations:executeRun operations.A project or the workspace
operations:execute:<operation>Run operations. For the one operation it names.A project or the workspace
operations:writeAuthor operations, and retry or dismiss their dead letters.A project or the workspace
agents:readRead the project’s agents, and every run of them with its trace.A project or the workspace
agents:executeRun 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:writeAuthor 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:executeUse 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:readRead the project brief.A project or the workspace
brief:writeChange the project brief.A project or the workspace
appconfig:readRead the configuration of the app an operation belongs to.A project or the workspace
schedules:readRead schedules.A project or the workspace
schedules:writeCreate, change and delete schedules.A project or the workspace
hooks:readRead event hooks and their deliveries.A project or the workspace
hooks:writeCreate, change and delete event hooks.A project or the workspace
authclients:readRead auth clients.A project or the workspace
authclients:writeRegister and change auth clients.A project or the workspace
domains:readRead custom domain claims.A project or the workspace
domains:writeClaim and verify custom domains.A project or the workspace
loginpages:readRead sign-in pages and their drafts.A project or the workspace
loginpages:writeChange sign-in pages, and release them.A project or the workspace
secrets:readRead the project’s secrets.A project or the workspace
secrets:listList the names of the project’s secrets.A project or the workspace
secrets:putSet and rotate the project’s secrets.A project or the workspace
secrets:deleteDelete the project’s secrets.A project or the workspace
appsecrets:readRead an app’s secrets.A project or the workspace
appsecrets:listList the names of an app’s secrets.A project or the workspace
appsecrets:putSet and rotate an app’s secrets.A project or the workspace
appsecrets:deleteDelete an app’s secrets.A project or the workspace
opsecrets:readRead the secret that signs the project’s operation deliveries.A project or the workspace
opsecrets:writeReplace the secret that signs the project’s operation deliveries.A project or the workspace
settings:readRead the project’s settings: locales, context dimensions, the variant catalogue, notification categories.A project or the workspace
settings:writeChange the project’s settings, and publish.A project or the workspace
designtokens:readRead the project’s design tokens.A project or the workspace
designtokens:writeChange the project’s design tokens.A project or the workspace
models:readRead models.A project or the workspace
models:writeCreate, change and delete models.A project or the workspace
configs:readRead configs.A project or the workspace
configs:writeCreate, change and delete configs.A project or the workspace
apps:readSee the apps installed in the project and their status.A project or the workspace
apps:writeInstall, configure and remove apps.A project or the workspace
events:readRead the project’s history of events.A project or the workspace
targeting:debugExplain why a variant was chosen for a request.A project or the workspace
visitors:forwardState the address and the location of the visitor a server is calling for.A project or the workspace
apikeys:readRead the project’s API keys.A project or the workspace
apikeys:writeCreate, rotate, change and revoke the project’s API keys.A project or the workspace
organizations:readRead the organisation tree, its members, limits and usage.A project or the workspace
organizations:writeMove, 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:writeRename 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:createCreate an organisation, with its first member and what it is provisioned with.A project or the workspace
organizations:deleteSchedule 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:reachRead every organisation of the project in one query.A project or the workspace
members:readSee who holds which role, and who has been invited.A project or the workspace
members:writeGive and remove roles, and invite people. A grant is capped by what the granter holds.A project or the workspace
roles:readSee the roles defined in the project.A project or the workspace
roles:writeDefine, change and disable roles.A project or the workspace
projects:readRead the project.A project or the workspace
projects:writeRename the project and change its settings.A project or the workspace
project:standAct as the project: reach the project’s own records, files and notes, the ones no person owns.A project or the workspace
project:manageManage a project: everything a person may hold in it.A project or the workspace
projects:createCreate a project.The workspace
projects:deleteDelete a project, reactivate it, and purge it.The workspace
tenants:readRead the workspace.The workspace
tenants:writeRename the workspace.The workspace
tenants:deleteAsk for the workspace to be deleted.The workspace
audit:readRead the audit trail.A project or the workspace
export:runExport a project’s data.The workspace
billing:readRead plans and prices.The workspace
billing:manageManage the workspace’s subscription.The workspace
usage:readRead the workspace’s usage.The workspace
controlkeys:readRead the workspace’s own admin keys.The workspace
controlkeys:writeCreate, rotate and revoke the workspace’s own admin keys.The workspace
tenanthooks:readRead the workspace’s hooks and their deliveries.The workspace
tenanthooks:writeCreate, change and delete the workspace’s hooks.The workspace
apps:installInstall an app into a project from the workspace.The workspace
tenant:manageManage a workspace: everything a person may hold in it and in its projects.The workspace
users:readRead users’ accounts.A project or the workspace
users:read.namedRead users’ accounts. The rows of one owner the request names.A project or the workspace
users:read.allRead users’ accounts. Every owner’s rows.A project or the workspace
users:writeChange users’ accounts: update, suspend, merge, and send an access link.A project or the workspace
users:write.allChange users’ accounts: update, suspend, merge, and send an access link. Every owner’s rows.A project or the workspace
users:setupFinish setting up an account nobody has signed in to: mark its address verified and set its first password.A project or the workspace
users:deleteDelete a user’s account.A project or the workspace
users:delete.allDelete a user’s account. Every owner’s rows.A project or the workspace
users:createCreate a user.A project or the workspace
identities:readFind which user holds an identity at an app’s own system.A project or the workspace
identities:deleteRemove an identity an app names at its own system, and the account when nothing else is theirs.A project or the workspace
usersecrets:readRead a user’s secrets.A project or the workspace
usersecrets:listList a user’s secrets.A project or the workspace
usersecrets:putStore a user’s secret.A project or the workspace
usersecrets:deleteDelete a user’s secret.A project or the workspace
signinproviders:readRead sign-in providers.A project or the workspace
signinproviders:writeAdd, 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.

Last updated on