Skip to content

Roles & Permissions ​

Corveil authorizes on capabilities — fine-grained permissions like "manage billing" or "read your own logs" — and bundles them into a small set of predefined roles. A check always asks "does this person hold this capability?", never "is this person an admin?", so the dashboard, the HTTP API, the MCP control surface, and the CLI all enforce the same rules.

Roles are scoped to one organization. There is no system-wide administrator and no impersonation path — a person's role is resolved per request against the organization they are acting in, and a role in one org grants nothing in another.

The organization roles ​

Every user in an organization holds exactly one organization role. On each team they're on, they also hold a team role; see Team roles.

RoleWhat it's for
OwnerThe break-glass principal. Full administrative access plus protection an identity-provider sync can never override — an org always keeps at least one owner.
AdminFull administrative access: reconfigure the org, manage users, billing, models, guardrails, credentials, automation, and more.
Billing adminA finance contact who manages the subscription, payment method, and plan, and sees who is in the org — and nothing else.
Budget viewer (all teams)Views the AI-spend budget of every team in the org, for someone like a CFO, and sees who is in the org. They cannot change budgets, mint keys, call the gateway, manage users, or manage the Corveil subscription.
Budget stakeholder (retired)Views the budgets of teams they belong to. No longer offered: use Viewer plus the Budget viewer team role instead. People who already hold it keep their access.
MemberThe general-purpose seat: mint your own API keys, call the gateway, author the knowledge graph, see who is in the org, and read your own traffic.
Gateway userA programmatic API consumer: mint your own keys and call the gateway, without authoring the graph, seeing the list of users, or reconfiguring the org.
ViewerRead-only. See your own logs, sessions, usage, and Insights, and read the knowledge graph — no key minting, no gateway calls, no writes, and no list of the org's users or of who is on each team.

Owner and admin hold the same capabilities. The difference is two guarantees, not access: an owner is marked protected (an SSO/SCIM directory sync cannot demote or remove it) and an org can never drop its last owner. Both can read every conversation in the organization; see Conversations and usage are separate.

Capabilities grow monotonically along the main line viewer → gateway user → member → admin (= owner) — each holds everything the one before it does, plus more. Billing admin and budget viewer (all teams) sit off to the side. Billing admin can manage billing (which member cannot) but holds none of member's write access. Budget viewer (all teams) matches viewer's organization access, and can additionally see who is in the org and view every team's budget. To let someone view only some teams' budgets, give them the Budget viewer team role on those teams instead — they keep their organization role.

What each role can do ​

Reads that are part of an org's shared context — the list of teams, the number of users, the enabled-model list, the billing plan — are available to any user in the org, whatever their role. Reading the knowledge graph, and the dashboards built on it, is a capability that every predefined role holds. Everything below is the restricted surface each capability unlocks.

Capability areaowneradminbilling adminbudget viewer (all teams)membergateway userviewer
See the org's users and who is on each team✅✅✅✅✅——
Organization settings, teams, users, invitations✅✅—————
Billing (checkout, portal, plan changes)✅✅✅————
Models, guardrails, credentials, sensors, automation, MCP admin✅✅—————
Read the knowledge graph and its dashboards✅✅✅✅✅✅✅
Author the knowledge graph (create/update entities & links)✅✅——✅——
Destructive graph ops (delete/merge/split), type registry✅✅—————
Author dashboards✅✅—————
Analytics, org-wide usage & spend, full-org log export✅✅—————
See everyone's request logs and sessions (model, user, cost, status)✅✅—————
Read everyone's conversations (prompts, responses, transcripts)✅✅—————
View every team's AI-spend budget✅✅—✅———
Change team AI-spend budgets✅✅—————
Mint & manage your own API keys✅✅——✅✅—
Call the read-only gateway-invoke path✅✅——✅✅—
Read your own logs, sessions, usage, Insights✅✅✅✅✅✅✅

Owners and admins view and change every team's budget. A budget viewer (all teams) views every team's budget and changes none. The budget rows above show what each organization role grants by itself. A team role adds to it for that one team, whatever the organization role: a Budget viewer views that team's budget, and a Budget approver or Team admin views and changes it. So a dash in any column does not apply to a team where the user holds one of those team roles — see Team roles. The same goes for seeing who is on a team: a Viewer or Gateway user who is Budget viewer, Budget approver or Team admin of a team sees that team's members, and the Teams page. The retired budget stakeholder role has the same column as viewer, plus viewing the budgets, and the members, of teams its holder is on.

Team roles ​

A team role is separate from the organization role. A user can be on any number of teams, and on each team they hold one team role:

Team roleAdds, for that team only
UserNothing beyond being on the team.
Budget viewerViewing the team's AI-spend budget and spend limits, and who is on the team.
Budget approverViewing and changing the team's budget and spend limits, seeing who is on the team, approving or rejecting its members' requests for more spend (see Spend requests), and seeing the team's request logs and sessions: model, user, cost, status and tokens. Never the conversations in them.
Team adminEverything a Budget approver has, reading the conversations in the team's logs and sessions (unless the organization turns that off, below), and choosing the Slack channel the team's spend requests post to (see Requests in Slack).
  • The team role never replaces the organization role. A Gateway user who is Budget viewer on Sales still mints keys and calls the gateway; a Viewer who is Team admin of Sales still can't mint a key.
  • It grants nothing on any other team. Budget viewer on Sales doesn't show Engineering's budget.
  • The higher role wins. The roles rank User < Budget viewer < Budget approver < Team admin. When a person gets two roles on one team — for example from two directory groups — they hold the higher one.
  • A Budget approver or Team admin changes the team's budget directly, within any spend limit the organization set for the team (see Limits set by the organization). Where spend requests are turned on, members can also ask for more and an approver grants it for the period.

Whether Team admins read their teams' conversations is an organization setting: People & Access → Organization → Conversation access → Team admins read their teams' conversations. It is on by default. Turned off, a Team admin still sees their teams' logs and sessions — model, user, cost and status — but not what was said. Only someone who can read every conversation in the organization can change it. Owners and admins read every conversation either way. A Budget approver never reads their teams' conversations, whatever this setting says.

An admin sets a user's team role on People & Access → Teams. The organization role is set on People & Access → Users. With SSO directory sync, a directory group can assign a team role instead — see Team roles from your directory.

A Budget approver or Team admin changes their team's spend limits under Governance → AI Gateway, on the Spend limits tab (page title Team spend limits). An org admin uses the Guardrails tab on that same page (page title Guardrails). A Budget viewer, and a Budget viewer (all teams), sees them there read-only. People without the guardrails capability see only team spend limits on that page, not the org's other guardrails.

A team can have two kinds of spend limit. Team caps the team's total. Each member of a team caps each person's own spend that counts toward the team (the same rule as below), per period: each person is blocked when their own spend reaches it, and their teammates keep going. Budget approvers and Team admins can set either on their team.

Per-person limits. On an Each member of a team limit, a Budget approver or Team admin can give one person on the team their own limit in place of the team's, higher or lower. For example, with $30 a month for each member, Bob and Sue can each get $100 a month while everyone else stays at $30. Open Per-person limits on the limit's row to see everyone on the team and the limit each is held to, set someone's own limit, or reset them to the team's. Their own limit applies every period until it is reset, and approved spend requests add on top of it. It doesn't change the team's total limit, which still stops the whole team when it is reached. A Budget viewer sees the list but can't change it, and a Budget approver or Team admin can't change their own limit; someone else who manages the team's budget can. Someone who leaves the team keeps their limit, but it doesn't apply until they rejoin.

Seeing your own limits. Every member sees the spend limits that apply to them in the My spend card on the dashboard home. Each limit shows how much has been spent this period, when the limit resets, and any approved top-up. A limit you've reached is tagged Limit reached. Those come first, followed by the limits closest to full. For a team or organization total you aren't allowed to see in dollars, the card shows only the percentage used. A limit you can ask for more on has a Request more budget button, which reads Request sent while your request is waiting. The card is hidden when no limit applies to you.

Spend requests ​

A member who reaches a spend limit can ask for more. The error their AI client shows links to the request form, and the dashboard shows a Request more budget button on the limit that is stopping them. They choose an amount and can add a reason. Requests are listed under Governance → Requests.

  • Who approves. A team's limits: its Budget approver or Team admin, or anyone whose role has Approve every team's budget requests or Manage every team's budget. A per-person limit: anyone whose role has Approve every team's budget requests, Manage every team's budget or Manage guardrails. Admins and owners hold all of these. Nobody approves their own request.
  • What approval does. It adds the amount, or less if the approver chooses, to that one limit until the limit's period ends (midnight UTC at the end of the day, week or month), or for good on a limit with no period. There's no option to ask for longer: once the period ends, ask again. The limit itself doesn't change. A request on a limit with a period expires if nobody decides it before that period ends. The request form, the request list and each request show when that is in your own time zone, and warn when it is less than a day away.
  • Limits set by the organization. A team's Budget approver or Team admin can't approve a request on a limit marked Set by organization, and can't approve an amount that would raise one of the team's limits above the team's limit set by the organization for the same period. Someone who approves or manages budgets for the whole organization can.
  • Per-person limits. On an Each member of a team limit, a request starts from the person's own limit when they have one (see Per-person limits), and approval adds to it.
  • This period only, or their own limit from now on. On an Each member of a team limit, someone who can change the team's spend limits (its Budget approver or Team admin, or someone who manages every team's budget) chooses how to approve. This period only adds the amount until the period ends, as above. Raise their own limit sets the person's own limit to their current limit plus the amount, so every period from this one on starts there, as if it had been set under Per-person limits. For example, on a $30-a-month limit, approving Bob's request for $70 more this way gives him $100 a month from now on. Someone who only approves requests, without managing the team's limits, approves for this period only. A per-person limit raised this way stays inside the limits set by the organization, like any other. The requester's email says which it was.
  • Email. The people who can approve a request get an email when it arrives: the team's own approvers when it has any, otherwise everyone who can approve it. If it is still waiting a day before it expires, they get a reminder; a request made with less than a day left says so in its first email instead. The requester gets an email when it is decided.
  • What members see. A member who can't otherwise see a team's budget sees only the limit that is stopping them, with the same figures the error already showed.
  • Team report. The Team report tab under Governance → Requests shows each team spend limit period by period: its base amount, what the team spent, how much of that was above the base, and the top-ups approved for the period, with the approved and rejected requests behind them. On a limit that applies to each person, the base is per person, so the spend above it is each person's spend over their limit (their own limit, if they have one), added up. It lists the teams whose budget you can read: as their Budget viewer, Budget approver or Team admin, or with Read every team's budget, Manage every team's budget or Manage guardrails. Export CSV downloads it for a spreadsheet.

Requests in Slack (preview) ​

In preview

Requests in Slack isn't on for every organization yet. Ask your Corveil contact to turn it on for yours.

Spend requests and connector requests can post to Slack as well as email, so the people who decide them can work from a channel. Corveil posts with your organization's Slack app: an organization admin connects it with Connect Slack. To post in a private channel, invite the app there first (/invite @Corveil). Email is unchanged either way.

  • What a post shows. A spend request shows who asked, the amount, the limit and its amount, what has been spent so far, what's left, the reason, when it expires, and an Open in Corveil link. A connector request shows who asked, the connector, the tools, the team, the reason and the link. Everyone in the channel sees these, so pick channels to match.
  • The thread. If a request is still waiting a day before it expires, the post gets a reminder in its thread. When the request is approved, rejected or cancelled, the thread says so (for example "Approved by Pat: $50.00 until Dec 1") and the post's top line changes to the outcome, so the channel reads as a queue. A request decided before its reminder gets no reminder.
  • A channel for each team. Each team can have one Slack channel for its spend requests, set on the Slack channels tab under Governance → Requests. The team's Team admins and the organization's admins and owners can change it; its Budget approvers and Budget viewers see it. The tab says whether Corveil can post there. A channel Corveil can't post in yet can still be saved: its requests stay email-only there until the app is invited. Send test posts a test message. Connector requests never post to a team's channel: they are decided by whoever administers MCP servers, so they go where the organization's routing sends them.
  • Request routing. Organization admins decide which channels each new request posts to under People & Access → Request routing: a short list of rules, where the first rule that matches a request wins. A rule matches on the request type (spend, connector or any), the team (any team, one team, or no team) and, for spend requests, who set the limit (the organization, the team, or either). It posts to the team's channel, a named channel, or both. When the team has no channel, a rule can post to its named channel only or pass the request to the next rule. Everything else catches what no rule matches; leave it empty for email only. Try a request shows which rule a request would match and where it would post. Until an admin saves rules, nothing posts to Slack.
  • When Slack can't take a post. A channel Corveil can't post in, or a Slack app that was removed, never stops a request or its email. The Slack channels tab shows the problem.

Requests to a webhook (preview) ​

Organization admins can also send spend and connector requests to another tool, such as Jira Service Management or GitHub, so it opens a ticket when someone asks. Corveil sends a signed JSON request to each webhook on the Webhooks tab under Governance → Requests when a request is made, decided or cancelled. See Request webhooks for the setup, what Corveil sends, and the Jira Service Management and GitHub recipes.

Limits set by the organization ​

When an admin, or anyone whose role has Manage every team's budget, saves a team's spend limit, it is marked Set by organization. A team's Budget approver or Team admin can lower that limit or rename it, but can't raise it, change its period or team, turn it off or delete it. They can still add limits of their own, which apply on top of it, and keep full control of those.

  • Turning it off. Whoever saves the limit can turn off Set by organization in the form, so the team's Budget approvers and Team admins manage it fully.
  • Per-person limits stay inside it. A Budget approver or Team admin can't give anyone a limit higher than the team's total limit set by the organization for the same period: saving one is refused, with the most they can set. On an Each member of a team limit marked Set by organization, they can give someone a lower limit but not a higher one. Per-person limits aren't added up against the team's total; the team's limit still stops the whole team when it is reached. Someone who manages budgets for the whole organization can set any amount.
  • Existing limits stay as they were until an admin or budget manager next saves them.

A budget manager role. To let someone allocate budgets without managing content guardrails, give them a custom role with Manage every team's budget. They can set every team's spend limits, the organization-wide limit and per-person limits. Their page under Governance → AI Gateway is titled Spend limits. The per-person scope also needs Manage members, which lists the people to pick from.

Every change to a spend limit is recorded in the audit log with the limit, period and on/off state before and after it. Setting, changing or resetting someone's per-person limit is recorded too, with who made the change, whose limit it is, and the amount before and after.

Which team spend counts against ​

Each request counts against one team's budget, and a team's spend limit caps exactly the spend its usage card shows:

  • A key bound to a team counts against that team, whoever uses it.
  • IdP sign-in traffic (for example Claude Desktop through MDM, which signs in with your identity provider and has no key) is stamped with one team at the time of the request. That team is the first that applies of: the person's Default team (chosen under user menu → Default team, or set by an admin), a team their directory groups map to, or their primary team. A stale default (they left the team, or it was deactivated) is skipped.
  • Everything else (chat and session usage, or a key with no team) counts against the person's primary team: their oldest team other than default where they're a User or Team admin. A Budget viewer row never makes a team primary. default is used only when the person has no other team.

The primary team for unstamped usage is worked out when the total is read. So adding someone to their first team other than default, or removing them from it, moves their past unattributed usage with them. IdP sign-in usage is already stamped, so it stays with the team it was charged to.

An owner or admin can also act on a teammate's API keys and per-user usage — the owner of a resource or an org admin may use those endpoints, and an admin creating a key on a teammate's behalf simply names the target user. One thing stays owner-only by design: editing another user's profile — a teammate's display name and personal budget are theirs to set, so an admin makes org-level changes through the membership surfaces (role, removal) instead.

Conversations and usage are separate ​

Seeing that someone used a model and reading what they said are separate permissions:

  • Usage and log details — model, user, team, API key, cost, tokens, latency, status, errors and timestamps. See everyone's request logs and See everyone's sessions show them for the whole organization; a Budget approver or Team admin sees them for their teams.
  • Conversations — request and response bodies, a session's prompts, transcripts, and a worker run's prompt, input and result. Read everyone's conversations opens them for the whole organization, and a Team admin reads their teams' unless the organization turns that off. A Budget approver never does. A conversation permission only opens records the person can already see, so it always comes with the matching log permission.

Everyone reads their own conversations. Someone who can see a record but not its conversation sees the usage details and a No access to conversation content notice instead.

Owners and admins hold both, for the whole organization, and no other organization role holds either; a Team admin holds them for their teams, and a Budget approver holds only the usage and log details. No setting can take anything away from an owner, so keep the owner seats to the people who need them.

What a role without conversation access can still see ​

Every role holds Read the knowledge graph, and it opens all of the graph. There is no per-record, per-source or per-team graph visibility.

A role without the conversation permissions can still see text that comes from conversations:

  • In the knowledge graph, the records derived from sessions carry it: a session's name can quote its first prompt, and its problem statement and approach summary restate what the session was about. Summaries of what each person worked on are drawn from the same material, and chat events captured into the graph carry conversation text. Anyone whose role includes Read the knowledge graph can read all of these.
  • In the sessions API, a session's summary and outcome are written by a model from the session's prompts and can restate them. Anyone whose role includes See everyone's sessions can read them with GET /api/sessions (the summary) and GET /api/sessions/{id} (summary and outcome), or the matching corveil control observability sessions-list / sessions-get commands and MCP control_sessions_list / control_sessions_get tools. The prompts and the plan written from them stay withheld.

The org boundary — Diagram E ​

What each role can do, and the fact that a role in one organization grants nothing in another. Virtual API keys sit inside that same boundary — every key is scoped to one org (and a team and a user), and the real provider credentials never leave the gateway.

Reading it:

  • The box is the boundary. Everything every role can do lives inside one organization. Nothing crosses the dashed line — a user who is an admin of Org A holds only the role Org B gave them in Org B, until an existing Org-B admin changes it.
  • Management vs. use vs. read. Owners and admins hold the management surfaces; users with the Member or Gateway user role hold the "use the gateway" surfaces; viewers read their own activity. Billing admin manages billing and nothing else. A budget viewer (all teams) views every team's budget and cannot change them. Team roles (not shown) add budget and log access on single teams.
  • API keys are scoped, and provider keys are shielded. A virtual key is bound to the org, a team, and a user — that scoping is what makes spend and logs attributable. The real provider credentials stay in the vault; a key holder authenticates to the gateway and never sees them.

Transfer admin ​

To hand an organization to someone else, an admin uses Transfer Admin: it promotes the chosen user and demotes the current admin in a single step, so the org never passes through a state below its break-glass floor.

Invariants ​

These behaviors are guaranteed and separately tested.

Every org keeps a break-glass principal (the last-owner invariant) ​

An organization always retains at least one principal who can administer it.

You cannot demote, remove, or "leave organization" your way to an org with no owner (or, for an org that predates the owner role, no admin). When an operation would cross that floor it is rejected with 409 Conflict. The dashboard also hides the affordances that would trip it, so the error is a backstop, not something you normally hit. An owner additionally cannot be demoted or removed while it is the last owner — even by an admin — and an identity-provider sync can never demote a protected owner.

Roles are per-org ​

A person's role in org A says nothing about their role in org B.

Promotion and demotion write a single membership, in a single organization. There is no "admin everywhere" path. An admin of org A who is invited to org B joins in whatever role the invitation specifies and stays there until an existing org-B admin changes it.

Roles do not encode plan tier ​

The set of roles is identical across every plan.

Plan tier gates which features an org can use — not which roles its users can hold. A trial admin and an enterprise admin have identical role-derived access; the differences are usage caps and enterprise-only features (SSO, SCIM, and domain verification), never the role model itself.

Roles come from Corveil, and SSO maps onto them ​

Corveil is the source of truth for roles.

For organizations using SSO with directory sync, an admin maps an identity-provider group, or a value of the corveilRole directory attribute, onto a Corveil role on People & Access → Directory Mappings (Group & attribute → Role). The first matching rule wins, and the mapping is re-applied on every sync. But the role always resolves to a Corveil capability bundle — there is no dependency on the identity provider's own role system, and a directory sync can never lock an org's owner out of its own tenant.

  • Directory Sync assigns the role, not the sign-in. Role mapping runs when Directory Sync (SCIM) provisions or updates a person. Signing in with SSO doesn't change a role, even when the SAML assertion carries a corveilRole attribute.
  • The attribute name is fixed. Corveil defines corveilRole for every organization; you don't invent or type the name. Map one of your directory fields onto it once, under Configure SCIM on People & Access → Organization.
  • Each value maps to a role. In Corveil, add a rule per value, such as viewer → Viewer. A person with no matching value keeps their current role.
  • Team roles come from groups. A directory group can also make its members Budget viewer, Budget approver or Team admin on one directory team (Group → Team role). The retired budget stakeholder role can't be picked for a new rule; an existing rule that targets it keeps working and is flagged, so you can point it at Viewer and add Budget viewer role groups.

See SSO, SCIM & Domain Verification for the setup.

Custom roles ​

Every organization can build custom roles. An admin with Manage custom roles builds a role on the Roles page: start from a blank role, a starter template, or a copy of any role, then pick its capabilities one by one. A custom role is assigned from Users like a predefined role, and everything on this page applies to it.

Nobody can grant a capability they don't hold. You can't build, edit, or assign a role with a capability your own role lacks, so a custom role never widens anyone's access past the person who handed it out.

See members decides whether a role sees the organization's member list: the Users page, the people pickers across the dashboard, and the members of each team. Leave it out to give a role the same view as Viewer. Without it, the dashboard shows a person's ID wherever it would have looked their name up. It hides the list, not every name: records that already carry a name still show it, such as who made a change, who sent a request, or the people in the knowledge graph. Manage members, Manage invitations, Manage teams and Manage everyone's API keys each require it, because they work on lists of people. Custom roles created before See members existed include it, so they kept the access they had; turn it off in the role builder to take it away.

What isn't here ​

  • Per-resource sharing. Access is by role, org-wide (with the narrow team roles above as the exception). "This person can edit records A and B but not C" — a per-resource ACL — is out of scope. Per-resource ownership already governs a few surfaces (your own API keys, your own profile), but that is ownership, not a role. The knowledge graph, likewise, has no per-record visibility.