Skip to content
AI GatewayAI Gateway Manual

Role bindings

Review and manage the role bindings that grant access to users and teams.

Role bindings grant roles to users or teams under conditions that can restrict when the binding applies.

To reach the role bindings screen, open Organization settings under Administration, then choose Role Bindings under Access Control. The demo below plays that click path in the console navigation.

Interactive demo · Opening Role bindings
Loading interactive demo…

Use Role Binding to view each binding’s name, subject, role, conditions, and row actions. Use Scope to view roles by subject. Choose Create role binding to add a binding.

The Role assignment panel shows the fields for creating a Role Binding. Scope kind decides where the role applies. Save stays disabled until you enter a name and choose a subject.

Interactive demo · Role assignment
Loading interactive demo…

The navigation demo is local and does not route or call the API. On the role bindings screen, the demo action is opening the two menu items, and the expected result is the Role Bindings page with its sidebar item selected. Use the playback controls to replay the path from either step.

The editor demo is also local: it validates the draft and does not save changes or call the API.

Before you delete a Project ai-user binding or save a change to its subject or role, the console checks which policy grants would be removed. This applies to Project bindings opened from either the Organization or Project role bindings list. Changes to the name or source-IP conditions alone do not require this confirmation.

The confirmation shows Model grants and MCP grants separately. Each count is the number of affected subject grants in that policy, not the number of models or tools. The console checks the current impact each time you open the confirmation; counts may change before the operation completes.

While the check is loading, confirmation is disabled. If the check fails, choose Retry impact check; you can continue only after the check succeeds. An unavailable count is not treated as zero. Canceling leaves the binding and grants unchanged. If saving or deletion fails, the console checks the impact again before another attempt.

When a subject loses its own Project ai-user binding, the server automatically removes that subject’s grants from the Project’s model and MCP policies as part of the same operation. Restoring the binding does not restore removed grants; add them again in the policy editor if needed.

The console shows each role by its identifier. Four roles are built in.

RoleScopeWhat it grants
org-adminOrganizationManages the whole installation: projects, users, teams, role bindings, policies, Providers, MCP servers, other users’ API keys, the decision model, and DLP. Reads audit logs. It does not grant AI use or own API keys; that is ai-user.
project-adminProjectEdits the project description, manages role bindings and access and usage-limit policies in the project, reads and revokes API keys, and reads the project’s audit logs.
ai-userProjectCreates, reads, and revokes own API keys and calls AI models.
audit-viewerOrganization or ProjectReads audit logs (Model Logs and MCP Logs) in its scope. At Organization scope it also manages DLP detection categories and runs DLP scans.