AI CodeOps

Roles and permissions

Every built-in AI CodeOps role and what it can do: who starts sessions, who approves changes, who edits policies, plus custom roles and how roles are assigned.

Everyone in a workspace has one role. The role is a set of permissions, and each permission unlocks one kind of action. This page lists what each built-in role holds. To invite people and change their roles, see Members and roles.

Roles govern people. What AI sessions may do on their own is set by the workspace policy.

Built-in roles

RoleIn short
OwnerFull access, including making other owners.
AdminFull access except deleting the workspace and transferring ownership.
DeveloperRuns AI sessions and manages projects, agents, schedules, deployments and incidents. Manages own API keys.
MemberRuns AI sessions and manages deployments, incidents and decision records. Manages own API keys.
ViewerRead-only. Can't run sessions or create API keys.
Security AdminPolicies, the audit log, approvals and finding triage. No billing, secrets or sessions.
DevOps AdminProjects, runbooks, schedules, deployments, incidents, MCP servers, agents and notifications. No billing, members or secrets.
Billing AdminBilling, budgets and usage. No access to code, secrets or members.
Secret ManagerWorkspace secrets only.

The last four are separation-of-duties roles: each covers one area, so a single compromised admin account can do less.

Who can do what

ActionOwnerAdminDeveloperMemberViewerSecurity AdminDevOps AdminBilling AdminSecret Manager
Start, cancel and re-run AI sessionsYesYesYesYesNoNoYesNoNo
Approve or reject changesYesYesNoNoNoYesNoNoNo
Triage findingsYesYesYesYesNoYesYesNoNo
Manage projectsYesYesYesNoNoNoYesNoNo
Manage deployments and incidentsYesYesYesYesNoNoYesNoNo
Manage custom agents and schedulesYesYesYesNoNoNoYesNoNo
Manage MCP servers and notification endpointsYesYesNoNoNoNoYesNoNo
Add model provider keys and change settingsYesYesNoNoNoNoNoNoNo
Edit the workspace policyYesYesNoNoNoYesNoNoNo
Read the audit logYesYesNoNoNoYesNoNoNo
Create own API keysYesYesYesYesNoNoNoNoNo
See everyone's usage and costYesYesNoNoNoNoYesYesNo
Manage billing and the cost budgetYesYesNoNoNoNoNoYesNo
Manage workspace secretsYesYesNoNoNoNoNoNoYes
Invite and remove membersYesYesNoNoNoNoNoNoNo
Create custom rolesYesYesNoNoNoNoNoNoNo

Every role can see the workspace and its member list, and manage its own two-factor methods and sign-in sessions.

Single sign-on is managed by the organization's owners and admins, not by a workspace role. See Single sign-on.

Approving changes

Approvals need the approval-decide permission. A request can also name specific approvers. The person who launched a session can't approve its change while someone else in the workspace can approve; a solo team can approve its own work. Details are in Approvals and policies.

Running sessions

Starting, cancelling, re-running and fixing a finding with AI all need the run-manage permission. A role without it can still open sessions and read their results.

Custom roles

On the Enterprise plan, owners and admins can create roles with exactly the permissions they need.

  1. Open Configure → Settings and find Roles & Permissions.
  2. Under Custom Roles, choose Create Role.
  3. Enter a Role Name and a Slug.
  4. Tick the permissions. They are grouped, for example Workspace, Members, API Keys, Models & Providers, Projects & Operations, Governance & Secrets, and Usage & Billing.
  5. Choose Create Role.

Assign it under Role Assignment on the same page, or when you invite someone. Changes take effect immediately.

  • You can't grant a permission you don't hold yourself.
  • Only an owner can change a role that has administrative permissions: changing settings, deleting the workspace, assigning roles or creating roles. Only an owner can assign such a role.
  • A role that is still assigned can't be deleted.
  • Remove members lets a custom role remove members, but never an owner or an admin: only an owner removes those.
  • If the organization leaves the Enterprise plan, custom roles keep only the permissions a Member has.

Rules for assigning roles

  • An owner can assign any role.
  • An admin can assign any role that isn't administrative.
  • You can't change or remove someone at or above your own level.
  • A workspace must always keep an owner.

Every role change is recorded as role.changed in the audit log.

Two-factor sign-in

Owners, admins, the four separation-of-duties roles and any custom role with sensitive permissions, such as managing secrets, policies, members or billing, must set up two-factor sign-in. Developers must on Pro and Enterprise, members on Enterprise, and viewers never. See Members and roles.

Next steps

Frequently asked questions

Can a developer approve an AI change?

Not with the built-in Developer role. Approving needs the approval-decide permission, which owners, admins and security admins have. A custom role can include it.

Which roles can start AI sessions?

Owners, admins, developers, members and DevOps admins. Viewers, security admins, billing admins and secret managers can't.

Do roles apply to API keys?

Yes. A workspace API key acts as the member who created it, with that member's current role.

Was this page helpful?