Custom Roles
When no built-in role fits, an Owner can compose a custom role from the permission catalog. A custom role sets an access level for each module and, where you need it, for each page inside a module. Anything the role does not grant is No access.
Custom roles are an Enterprise feature. They need the rbac-custom-roles entitlement (the Enterprise cloud plan, and the Pro and Enterprise self-hosted plans). Without it, the Custom Roles tab is hidden. Only the Owner role can view, create, edit, delete and assign custom roles. A custom role can never grant the right to author custom roles.
Where to find them
Go to Organization Settings → Custom Roles. The list shows each role with these columns:
| Column | Meaning |
|---|---|
| Role | Name and description |
| Access | The modules the role grants and their levels |
| Assigned | How many organization and project memberships hold the role |
| Expires | The expiry date, Expired with the date once it has passed, or Never |
| Updated | Last change |
Custom roles belong to one organization. Every project in that organization can use them.
Create a custom role
Start the role
Select Create custom role. The role editor opens.
Name and describe it
- Name (required): up to 64 characters, unique in the organization. It cannot contain
<,>,{or}. - Description (optional): up to 500 characters. HTML tags and template expressions (
{{,}},${) are rejected. - Expires (optional): a date after which the role stops granting anything.
Optionally clone a built-in role
Use Clone from built-in role to start from the permissions of Department Admin, Security & Compliance, Cost Analyst, Manager Viewer, End User or Auditor, then adjust. Owner cannot be cloned. Cloning is only offered when you create a role.
Set permissions
Set access levels on the Pages tab or the JSON tab. Both edit the same permissions. See Setting permissions.
Review
Check the Effective permissions panel. It lists every page and setting the role reaches, with its level, and the number of organization and project scopes it compiles to. If a combination breaks a separation of duties rule, a Separation of duties warning explains why and the role cannot be saved.
Save
Select Create role and complete step-up verification. The role is now available to assign.
Setting permissions
Access levels
| Level | Shown as | Meaning |
|---|---|---|
NONE | No access | Hidden and refused |
READ | Read | View only |
WRITE | Read & Write | View and change |
ADMIN | Admin | Highest tier, for example approving compliance requests or managing Budget AI keys |
Each module and page offers only the levels that mean something for it. A read-only page such as Risk Dashboard offers only No access and Read.
Pages tab
The Pages tab is laid out like the sidebar, with a section per sidebar heading (Discover AI, Gauge AI, Budget AI, Governance) and a Settings & administration section for settings tabs and data permissions that have no sidebar page.
- Each row is a page (or a group of pages that share one permission) with a level dropdown.
- A page that you have not set shows Inherit from its module, with the inherited level. Select a level to override it, or the reset icon to go back to inheriting.
- An override wins in both directions: you can turn one page off inside a module you granted, or grant one page inside a module set to No access.
- Set all pages… on a section heading applies one level to every page in it.
- Filter pages… narrows the list by page name or key.
- Module defaults (advanced) sets the fallback level for a whole module at once. It also grants the module-wide permissions that no single page carries, such as configuring notification automations in Governance and running evaluation jobs in Gauge AI. Modules marked Sensitive (Budget AI, PII / raw-prompt content, Integrations & service accounts, Tenant security, Billing) deserve extra care.
Some pages sit under a sidebar heading that differs from the module that controls them. Tracing and Sessions appear under Discover AI but inherit from Governance. AI Agent Center appears under Discover AI but belongs to Gauge AI. AI Inventory appears under Gauge AI but belongs to Governance. The row always names the module it inherits from.
Permission catalog
| Module | Levels | Pages and settings it covers |
|---|---|---|
| Discover AI | No access, Read, Read & Write | AI Usage Intelligence (adoption), AI Tools, Users, Devices, Usage Intelligence, discovered AI agents, Configure (policy, tool registry, enrollment keys, directory) |
| AI TrailMaps | No access, Read | AI TrailMaps |
| Gauge AI | No access, Read, Read & Write | AI Agent Center, AI Optimizer, Cost & Latency dashboards (Cost Dashboard, Latency Dashboard, Cost Performance Metrics, Latency & Analytics, AI Usage), Users (per-user cost) |
| Governance | No access, Read, Read & Write, Admin | Risk Dashboard, AI Guardrails, AI Violations, My Requests, Available Requests and approvals, Evidence Collection, Framework Coverage, agent profiles, Tracing and Sessions, AI Inventory |
| Budget AI | No access, Read, Read & Write, Admin | Overview, Keys, Budgets & Limits, Models & Routing, Budget AI settings |
| Audit & Export | No access, Read, Read & Write | Audit Log Viewer (Organization Settings → Audit Logs), Audit & Evidence Export (Governance → Audit & Export) |
| PII / raw-prompt content | No access, Read | The text of prompts and responses wherever it appears |
| Data export | No access, Read & Write | Project Settings → Exports and table exports of traces, sessions, observations, scores, dataset items, dataset run items and audit logs |
| User data export | No access, Read & Write | Exporting the Users table |
| AI Agent data export | No access, Read & Write | Exporting agent, discovered agent and agent governance tables |
| User & role management | No access, Read, Read & Write | Organization members, project members, invitations |
| Integrations & service accounts | No access, Read, Read & Write, Admin | Notification and analytics integrations, AI Studio connectors, project API keys (Admin only) |
| Tenant security & data retention | No access, Read, Admin | SSO & identity, organization features & MFA, Budget AI key incident response (block and unblock), data retention |
| Billing & subscription | No access, Read | Organization Settings → Billing |
| Ants Assist | No access, Read, Read & Write | Using Ants Assist and configuring it for a project |
| Datasets and experiments | No access, Read & Write, Admin | Read & Write creates, edits and deletes your own datasets and views experiment runs. Admin also manages every dataset in the project and runs prompt experiments. Among built-in roles, Owner has Admin, Auditor has no access and the others have Read & Write. See Datasets |
| Support tickets | No access, Read & Write, Admin | Read & Write raises tickets from the Support menu and sees your own. Admin also sees every ticket in the organization, manages Organization Settings → Support, and raises or ignores tickets from the Errors page. See Support Tickets and Server Errors |
Sub-pages offer only the levels that apply to them. For example, Governance's request queue offers Admin (final approval), while AI Violations is read-only. A module level above what a page offers resolves down to the page's highest level.
Agent ownership works with custom roles as with built-in ones: a member who owns an AI agent gets the owned view of AI Agent Center, Tracing, the Gauge AI dashboards and the Governance pages that their role does not grant, for their own agents only. A page the role already grants is unchanged.
JSON tab
The JSON tab shows the same permissions as an object of keys and levels. Values are READ, WRITE or ADMIN. Omit a key to inherit its module's level.
- Page keys follow the sidebar:
<heading>.<page>, for examplediscoverAi.tracing. - A bare heading key such as
"discoverAi": "READ"expands into one key per page under that heading. - Module keys (
shadowAi,roiAi,guardianAi,gatewayAi,auditLogs,piiRawPrompt,dataExport,userDataExport,agentDataExport,userRoleManagement,integrations,tenantSecurity,billing,antsAssist,trailmap) and their dotted sub-module keys (for exampleguardianAi.tracing) are always accepted. Module keys are what the platform stores. - Settings permissions keep their module spelling, for example
integrations.apiKeysortenantSecurity.dataRetention. - Unknown keys,
customRoleAuthoring, and levels a key does not offer are rejected with an error that names the key. The key reference under the editor lists every valid key.
Separation of duties
Some combinations are blocked in every custom role, whoever creates it:
| Blocked combination | Why |
|---|---|
| User & role management at Read & Write and Audit & Export at Read or above | Whoever grants access must not also control the record of who was granted it. |
| User & role management at Read & Write and Tenant security at Admin | Role administration and tenant security configuration are separate duties. |
| PII / raw-prompt content at Read and Data export at Read & Write | Together they allow bulk export of personal data. |
The check counts a module at the highest level held by the module or any of its pages, so a rule cannot be avoided by granting only pages.
Because of the third rule, no custom role can export traces, observations, sessions, dataset items or dataset run items, which needs both the content permission and data export access. Among all roles, only Owner can create those exports. A custom role with data export access can still export tables without prompt content, such as scores. See Data Exports.
Assign a custom role
Custom roles are assigned in the same places as built-in roles. The role dropdowns show a Custom roles group below the built-in roles.
- Organization level: in Organization Settings → Members, pick the custom role in a member's role dropdown. The role applies in every project where the member has no project role.
- Project level: in Project Settings → Members, pick the custom role as the member's project role. It replaces their organization role in that project. Project-level assignment needs the
rbac-project-rolesentitlement. - Invitations: when you select Add member, choose a custom role as the Organization Role or Project Role. The invitee receives it when they join.
- Identity provider groups: map an Okta, Entra ID or other identity provider group to the custom role, at organization or project scope, with group role mapping. Members get the role when your identity provider pushes the group over SCIM or at their next sign-in, so least-privilege roles follow the groups you manage in your identity provider.
- SCIM: the
rolesattribute in SCIM provisioning can name a custom role by its name or ID.
A membership holds either a built-in role or a custom role at each level, never both. Assigning a custom role requires the Owner role and is checked against your own access. Changing an existing member's role asks for step-up verification. Expired roles appear in the dropdown marked Expired and cannot be selected.
Members whose role comes from a group role mapping show Managed by Okta group (or Managed by identity provider group) on the Members page, and their role cannot be changed by hand.
Edit, expire and delete
- Edit: select the edit icon, change the role, and select Save changes. Step-up verification is required. The new permissions apply to everyone who holds the role. Their memberships do not change.
- Expiry: after the expiry date, the role grants nothing. Members who hold it keep the membership but lose all access it gave until you extend the date or assign another role.
- Delete: select the delete icon and confirm Delete custom role?. The dialog says how many members hold it. They fall back to the role None and lose the access the custom role granted. A role that a group role mapping uses cannot be deleted: the error says how many mappings use it. Remove or change those mappings first.
- A custom role that grants nothing does not let its holder open a project. The editor warns you: "Grants nothing. A member holding only this role cannot open the project."
Creating, editing and deleting custom roles, and assigning them, are recorded in Audit Logs.
Examples
| Goal | Permissions |
|---|---|
| Read-only membership auditor | User & role management: Read |
| Compliance reviewer for one framework program | Governance: Read, with Evidence Collection at Read & Write and Available Requests at Read & Write |
| Discover AI tool inventory only | Discover AI: AI Tools at Read |
| Budget AI key administrator | Budget AI: Keys at Admin |
| External auditor for a single project | Audit & Export: Read, assigned as a project role in that project, with organization role None |
Next steps
- Members & Roles: built-in roles and member management.
- Access Control (RBAC): how roles, modules and scopes fit together.