Skip to main content

Role-based access control (RBAC)

Role-based access control (RBAC) lets organization admins define roles with specific permission scopes and assign those roles to groups. Every member of a group inherits the permissions of all roles assigned to that group.

This approach offers several advantages:

  • Principle of least privilege: Grant only the minimum permissions needed.
  • Reusable roles: Define a role once and apply it to multiple groups.
  • Simplified management: Update a role's permissions and all assigned groups inherit the changes immediately.
  • Clear audit trail: Track who has access to what through role assignments.

RBAC applies to organization-wide settings. To control what groups can do with apps, resources, workflows, and agents, refer to Object permissions.

Overview​

A role grant assigns a role to a group, and every member of that group inherits the scopes the role defines. Granting through groups keeps access consistent as people join and leave teams. Organization roles can also be granted directly to an individual user from Settings > Users, for cases where someone needs an exception.

Loading diagram...

A user can belong to more than one group, a group can have more than one role, and a user can hold a direct organization role grant alongside the roles they inherit. Permissions from every path are additive.

Organization roles​

Organization roles contain scopes that control access to organization-wide settings, such as managing billing, configuring SSO, editing the Query Playground, or viewing audit logs. Assigning an organization role to a group lets every member of that group access or modify those settings without full admin access. Use admin granularity to delegate administrative responsibilities this way.

Organization roles are available on Business and Enterprise plans. The available scopes differ by plan:

  • Business: Scopes for non-sensitive settings: Query Playground access, draft app management, theme editing, user visibility, and account details.
  • Enterprise: All Business scopes, plus admin granularity: an expanded set of scopes for sensitive administrative settings like SSO, billing, IAM credentials, audit logs, Spaces, and source control.

For the full list of scopes organized by category, refer to the Admin permissions reference.

Role grants​

A role grant links a role to a group. Every member of that group receives the permissions the role defines. You can also grant an organization role directly to an individual user, in which case only that user receives the permissions.

Permissions are additive. A user holds the combined permissions of every role granted to any group they belong to, plus any organization role granted to them directly.

Default roles and groups​

Retool automatically creates default roles and groups for every organization. These cannot be edited, reassigned, or deleted.

Default groupOrganization role
AdminsAll organization permission scopes
EditorsQuery Playground (edit), view users, manage account details, unpublished releases, drafts
ViewersQuery Playground (view), view users, manage account details

Next steps​