Identity and access
Roles and scopes
Every permission is a scope; roles are fixed sets of scopes, and keys carry a subset of their creator's.
How permissions work
A scope is a permission such as projects:write. Every request is checked for the scope it needs, in the organization it acts on:
- People get the scopes of their role in each organization. They're worked out from the role in the access token, so a role change takes effect within 15 minutes.
- Keys carry the scopes chosen when they were created, at most the creator's own (Keys).
- Agents don't use scopes; what a device may do is decided when it's approved.
A request without the scope gets 403 with Missing scope <scope>.
Roles
| Role | Scopes |
|---|---|
| Owner | Every scope. Owners can also invite owners. |
| Admin | Same scopes as owners. |
| Developer | Every :read scope except audit:read, plus the developer writes marked in the table below. |
| Viewer | Every :read scope except audit:read, plus chat:use. |
A few decisions use the role itself rather than a scope: inviting members, creating and deleting teams, and creating and revoking keys need an owner or admin.
Scopes
Generated from the platform's scope list. Checked by lists the API routes and MCP tools that require each scope; "Not checked yet" means a role grants it but nothing requires it today.
| Scope | Covers | Owner | Admin | Developer | Viewer | Checked by |
|---|---|---|---|---|---|---|
org:read | The organization's settings page in Cloud. | ✓ | ✓ | ✓ | ✓ | 9 API routes, Cloud navigation |
org:write | Renaming and deleting the organization; transferring projects (needed in both organizations). | ✓ | ✓ | 9 API routes | ||
audit:read | The organization's audit log. | ✓ | ✓ | 6 API routes | ||
audit:review | Audit review: people's and objects' activity, findings, cases and exports. | ✓ | 8 API routes | |||
tenant:read | Tenant: users, groups, roles, applications, sign-in logs and policies. | ✓ | ✓ | 39 API routes, tenant_overview, tenant_users_list, tenant_user_get, tenant_groups_list, tenant_group_get, tenant_roles_list, tenant_permissions, tenant_sign_ins, tenant_policy_get, tenant_integrations_list | ||
tenant:write | Tenant: inviting, blocking and removing users, groups, role assignments, applications and policies. | ✓ | ✓ | 99 API routes, tenant_invite, tenant_user_update, tenant_user_block, tenant_user_unblock, tenant_user_revoke_sessions, tenant_user_send_password_reset, tenant_group_member_set | ||
members:read | The organization's members. | ✓ | ✓ | ✓ | ✓ | 2 API routes |
members:write | Managing the organization's members. | ✓ | ✓ | Not checked yet | ||
projects:read | Serverless App Services and their settings. | ✓ | ✓ | ✓ | ✓ | 8 API routes |
projects:write | Creating Serverless App Services and changing their settings. | ✓ | ✓ | ✓ | 12 API routes | |
deployments:read | Deployments and their status. | ✓ | ✓ | ✓ | ✓ | 6 API routes |
deployments:write | Redeploying, promoting and rolling back deployments. | ✓ | ✓ | ✓ | 5 API routes | |
env:read | Environment variables. Sensitive values are never returned. | ✓ | ✓ | ✓ | ✓ | 8 API routes, secrets_list, secret_get |
env:write | Adding, changing and deleting environment variables and secrets, and reading secrets their access rules allow. | ✓ | ✓ | ✓ | 10 API routes, secret_get, secret_set | |
keys:read | Every key that protects the organization's data, its versions, use and audit. Never key material. | ✓ | ✓ | 2 API routes, keys_list | ||
keys:use | Encrypting, decrypting, signing and verifying with the organization's own keys. | ✓ | ✓ | ✓ | 5 API routes, keys_encrypt, keys_decrypt, keys_sign, keys_verify | |
keys:write | Creating, rotating, scheduling, re-encrypting, disabling and destroying keys; who may read secrets. | ✓ | ✓ | 9 API routes | ||
domains:read | Custom domains and their status. | ✓ | ✓ | ✓ | ✓ | 12 API routes |
domains:write | Adding, redirecting, moving and removing custom domains; connecting Cloudflare. | ✓ | ✓ | ✓ | 9 API routes | |
domains:buy | Registering domains and switching their auto-renew, each confirmed by a person (a purchase). | ✓ | ✓ | 2 API routes | ||
resources:read | Databases and buckets. | ✓ | ✓ | ✓ | ✓ | 22 API routes, databases_list, database_describe, database_query, database_scan, database_item_get, buckets_list, bucket_list, bucket_download_url |
resources:write | Creating, linking and deleting databases and buckets. | ✓ | ✓ | ✓ | 33 API routes, database_item_put, database_item_delete, bucket_upload_url, bucket_delete | |
status:read | Status pages, their components and incidents. | ✓ | ✓ | ✓ | ✓ | 9 API routes |
status:write | Creating, changing and deleting status pages, their components, groups and templates. | ✓ | ✓ | ✓ | 24 API routes | |
status:incidents | Opening, updating and publishing incidents and maintenance on status pages. | ✓ | ✓ | ✓ | 6 API routes | |
git:read | Reading repositories, cloning and fetching; reading and opening issues; commenting. | ✓ | ✓ | ✓ | ✓ | 103 API routes, Git over HTTPS: clone and fetch |
git:write | Pushing; creating and deleting repositories; repository settings; opening and merging pull requests; running, re-running and cancelling pipelines. | ✓ | ✓ | ✓ | 26 API routes, Git over HTTPS: push | |
git:admin | Pipelines' secrets, variables and environments (their reviewers, wait timers and branch rules), caches and artifacts. Owners and admins. | ✓ | ✓ | 21 API routes | ||
logs:read | Build and runtime logs. | ✓ | ✓ | ✓ | ✓ | 4 API routes |
analytics:read | Traffic analytics for the organization's deployments. | ✓ | ✓ | ✓ | ✓ | 1 API route, project_traffic |
knowledge:read | Notes pages and context entries. | ✓ | ✓ | ✓ | ✓ | 28 API routes, context_get, context_list, pages_list, page_get, page_search |
knowledge:write | Creating and editing knowledge pages and context entries. | ✓ | ✓ | ✓ | 18 API routes, context_put, context_delete, page_upsert | |
connectors:read | Connectors, and their tools on the MCP server. | ✓ | ✓ | ✓ | ✓ | 5 API routes, connectors_list, connector tools |
connectors:write | Adding, testing, changing and removing connectors. | ✓ | ✓ | 7 API routes | ||
chat:use | Caity. | ✓ | ✓ | ✓ | ✓ | Not checked yet |
mcp:connect | Connecting MCP clients. | ✓ | ✓ | ✓ | Not checked yet | |
agents:read | Agents, their network requests and jobs. | ✓ | ✓ | ✓ | ✓ | 7 API routes, agent_job_get |
agents:write | Approving and revoking agents, their network access, and exec jobs. | ✓ | ✓ | 5 API routes, agent_job_create, Approving an agent's login | ||
agents:run | Queueing agent jobs. | ✓ | ✓ | ✓ | 3 API routes, agent_job_create, agent_job_cancel | |
mail:read | Reading and organizing mail in the mailboxes you're a member of. | ✓ | ✓ | ✓ | ✓ | 26 API routes |
mail:send | Sending mail and saving drafts from the mailboxes you're a member of. | ✓ | ✓ | ✓ | ✓ | 12 API routes |
mail:admin | Mail domains, mailboxes, aliases, catch-all addresses and mail usage. | ✓ | ✓ | 14 API routes | ||
calendar:read | Calendars and events of the mailboxes you're a member of. | ✓ | ✓ | ✓ | ✓ | 8 API routes |
calendar:write | Creating and changing calendars and events, answering invitations and importing events, in the mailboxes you're a member of. | ✓ | ✓ | ✓ | ✓ | 13 API routes |
contacts:read | Address books and contacts of the mailboxes you're a member of. | ✓ | ✓ | ✓ | ✓ | 9 API routes |
contacts:write | Creating, changing, importing and deleting contacts and address books in the mailboxes you're a member of. | ✓ | ✓ | ✓ | ✓ | 13 API routes |
issues:read | Issue spaces, issues, boards, filters, dashboards and reports you can browse (each space's permission scheme applies). | ✓ | ✓ | ✓ | ✓ | 126 API routes, issues_meta, issues_search, issues_report, issues_agenda, issue_get, boards_list, board_get, filters_list, issues_imports_list |
issues:write | Creating spaces, issues and filters; working on issues where the space's permission scheme allows it. | ✓ | ✓ | ✓ | 113 API routes, sprint_create, sprint_plan, sprint_start, sprint_complete, issue_create, issue_update, issues_bulk, issue_transition, issue_comment, issue_comment_edit, issue_comment_delete, issue_link, issue_unlink, issue_worklog, issues_rank, issue_move, issue_delete, space_create, issues_import_start, issues_import_cancel | |
issues:admin | Issue configuration (statuses, types, workflows, fields, screens, permission schemes), every space, and deleting spaces. | ✓ | ✓ | 44 API routes | ||
maps:read | Maps: live aircraft, flight history, and the saved maps, flight watches and notification groups shared with the organization. | ✓ | ✓ | ✓ | ✓ | 92 API routes, findmy_people, maps_directions, findmy_eta, findmy_eta_start, findmy_eta_stop, findmy_eta_extend, aircraft_find, aircraft_track, flight_watches_list, flight_logs_list, flight_log_get, flight_watch_events, maps_locations_list, my_location_status, incidents_list, incident_get, watch_zones_list, watch_zone_events |
maps:write | Saving places and maps, creating and changing flight watches and notification groups, and push subscriptions. | ✓ | ✓ | ✓ | ✓ | 36 API routes, flight_watch_create, circling_alert_create, maps_location_create, maps_location_update, maps_location_delete, my_location_delete, flight_watch_pause, flight_watch_delete, flight_watch_live_activity, flight_watch_restart, watch_zone_create, watch_zone_update, watch_zone_pause, watch_zone_delete |
drive:read | Drive: the organization's files and folders you can open (your My Drive, shared drives you're in, and what's shared with you). | ✓ | ✓ | ✓ | ✓ | 207 API routes, drive_search, drive_list, drive_get, drive_read, drive_download_url, document_create, document_read, document_edit, document_comment, sheet_create, sheet_read, sheet_write, sheet_add_chart, slides_create, slides_read, slides_add, office_search, office_export, video_read, video_create, video_transcribe, studio_images |
drive:write | Drive: uploading, organizing, sharing and deleting the organization's files where your access allows it. | ✓ | ✓ | ✓ | ✓ | 16 API routes, drive_folder_create, drive_file_write, drive_rename, drive_move, drive_trash, drive_restore, drive_share |
crm:read | Customers: reading accounts, contacts, leads, opportunities and activities that sharing allows, list views, search and the pipeline. | ✓ | ✓ | ✓ | ✓ | 52 API routes, crm_objects, crm_search, crm_records_list, crm_record_get, crm_pipeline_summary |
crm:write | Customers: creating records, changing and deleting those sharing allows, logging activities, converting leads, imports. | ✓ | ✓ | ✓ | 10 API routes, crm_record_create, crm_record_update, crm_activity_log, crm_import_start, crm_import_cancel | |
crm:admin | Customers settings: objects, fields, validation rules, indexes, pipelines, sharing and role permissions. Includes seeing and changing every record. | ✓ | ✓ | 15 API routes, crm_imports_list | ||
marketing:read | Marketing: segments, lists, content, campaigns and their results, consent and engagement. | ✓ | ✓ | ✓ | ✓ | 92 API routes, marketing_segments_list, marketing_segment_get, marketing_segment_estimate, marketing_lists_list, marketing_campaigns_list, marketing_campaign_get, marketing_journeys_list, marketing_journey_get, marketing_consent_get, marketing_stats_daily, marketing_forms_list |
marketing:write | Marketing: building segments, lists, templates and the content library, importing lists, and drafting campaigns. | ✓ | ✓ | ✓ | marketing_campaign_create, marketing_campaign_request_approval, marketing_journey_create | |
marketing:send | Marketing: scheduling, sending, pausing and cancelling campaigns, and approving others' campaigns. | ✓ | ✓ | Not checked yet | ||
marketing:admin | Marketing settings: sender, physical address, topics, approvals, frequency caps, send times and the brand kit, and changing an address's consent. | ✓ | ✓ | Not checked yet | ||
health:read | Health: your own summaries, charts, samples and what others share with you. Keys and connected apps only when you allow it in Health → Privacy; Caity only summaries, and only when allowed. | ✓ | ✓ | ✓ | ✓ | health_summary, health_metric |
health:write | Health: adding, changing and deleting your own samples and syncing them. Keys and connected apps only when you allow it in Health → Privacy; never privacy settings. | ✓ | ✓ | ✓ | ✓ | Not checked yet |
weather:read | Weather (personal, in no organization): forecasts, air quality and place search, and reading your own saved places. Held in any of your organizations, or none. | ✓ | ✓ | ✓ | ✓ | 5 API routes, weather_forecast, weather_places_search, weather_places |
weather:write | Weather: changing your own saved places and units. | ✓ | ✓ | ✓ | ✓ | 4 API routes, weather_place_save, weather_place_remove |
food:read | Food (personal, in no organization): your recipes and collections, and your household's meal plan, shopping lists and pantry. Held in any of your organizations, or none; a key acts for the person who made it. | ✓ | ✓ | ✓ | ✓ | 29 API routes, food_recipes_search, food_recipe_get, food_suggestions, food_what_can_i_cook, food_plan_get, food_substitute, food_use_soon, food_spending, food_plan_meals, food_plan_add, food_shopping_list, food_list_add, food_pantry_add, food_recipe_save |
food:write | Food: adding and changing recipes, the plan, lists and the pantry, importing, and your Food settings. | ✓ | ✓ | ✓ | ✓ | 50 API routes |
vehicles:read | Vehicles: the vehicles you own or that are shared with you, their state, trips, charges and costs, and a vehicle's position only where its sharing allows it. Held in any of your organizations, or none; a key acts for the person who made it. | ✓ | ✓ | ✓ | ✓ | 28 API routes, vehicles_on_map, vehicle_fleet_list, vehicle_fleet_run |
vehicles:write | Vehicles: trip classes, purposes and tags, places, tariffs, geofences, exports and vehicle settings, where sharing allows it. | ✓ | ✓ | ✓ | ✓ | 48 API routes, vehicle_log_drive, vehicle_log_charge, vehicle_log_entry |
vehicles:control | Vehicles: commands to a vehicle (climate, charging, lock, unlock, Sentry and the rest), each of which needs the matching capability on that vehicle; the sensitive ones ask for confirmation or the owner's approval. | ✓ | ✓ | ✓ | ✓ | vehicle_command, vehicle_fleet_command |
vehicles:admin | Vehicles: an organization's fleet policy, drivers, bookings for other people, every driver's scores and the fleet reports. | ✓ | ✓ | 66 API routes | ||
sharing:read | Sharing: who a resource is shared with, what is shared with you, and your pending invitations. | ✓ | ✓ | ✓ | ✓ | shared_with_me, sharing_list, circles_list |
sharing:write | Sharing: giving others access to what you hold (people, groups, circles and links), changing or ending it, and accepting or declining what is shared with you. You can give no more than you hold yourself. | ✓ | ✓ | ✓ | ✓ | sharing_grant, sharing_update, sharing_pause, sharing_revoke, findmy_share, findmy_stop, findmy_hide |
ontology:read | Datalake: the ontology's types, links, actions, rules, layers and views, their versions and lineage. | ✓ | ✓ | ✓ | ✓ | Not checked yet |
ontology:write | Datalake: drafting and proposing changes to the ontology's definitions on a branch. | ✓ | ✓ | ✓ | Not checked yet | |
ontology:admin | Datalake: publishing ontology definitions and reviewing proposals. | ✓ | ✓ | Not checked yet | ||
datasets:read | Datalake: datasets, their versions, schemas and previews, where each type's policy allows. | ✓ | ✓ | ✓ | ✓ | Not checked yet |
datasets:write | Datalake: creating datasets and versions, transforms, checks and imports. | ✓ | ✓ | ✓ | Not checked yet | |
datasets:admin | Datalake: dataset retention, deletion and every dataset's settings. | ✓ | ✓ | Not checked yet | ||
sources:read | Datalake: sources, their runs and health. | ✓ | ✓ | ✓ | ✓ | Not checked yet |
sources:write | Datalake: creating and changing sources and their schedules, and running syncs. | ✓ | ✓ | ✓ | Not checked yet | |
sources:admin | Datalake: source credentials, shared feeds' subscriptions and deleting sources. | ✓ | ✓ | Not checked yet | ||
lake:query | Datalake: SQL over the lake, reaching only the rows and columns each type's policy allows. | ✓ | ✓ | ✓ | Not checked yet | |
service:read | Service: the organization's inboxes and customer conversations, their messages and notes, macros and settings (a provider's inbox only where that provider opens to you). | ✓ | ✓ | ✓ | ✓ | 8 API routes |
service:write | Service: replying, notes, assignment, merging and splitting conversations, applying provider actions (with the scopes each names), and changing inboxes, facts, macros and settings. | ✓ | ✓ | ✓ | 19 API routes |