Roles and Permissions
Opik uses a role-based access control (RBAC) system that allows you to define what users can do within workspaces. This guide explains how roles and permissions work, the default roles available, and how to create custom roles.
Organization roles vs. workspace roles
Opik has two levels of roles that work together:
A user’s effective access is determined by both their organization role and their workspace role:
- Organization role sets the maximum level of access a user can have across all workspaces (e.g., View-Only Members are restricted to read-only access organization-wide).
- Workspace role determines what they can do within each workspace they’re a member of, up to the limit set by their organization role.
Organization roles
Every user in your organization has exactly one organization role:
New users are assigned the Member role by default. Organization admins can change a user’s role from the Users page in the Admin Dashboard.
Workspace roles
Workspace roles control what users can do within a specific workspace. Users can have different roles in different workspaces.
Default roles
These roles are available in all Opik organizations and serve as the basis for custom roles:
Permissions by role
The table below shows the default permissions for each role. Custom roles can combine these permissions differently.
Custom roles
Custom roles are available on Enterprise plans. Reach out to enable this feature.
To create a custom role:
- Go to Admin Dashboard > Roles & Permissions.
- Click Create Role and configure permissions.
- Inherit from an existing role as a starting point.
Assigning roles
Roles can be updated in different places depending on the role type:
- Organization roles can be updated by organization admins in Admin Dashboard > Users.
- Workspace roles can be updated in Configuration > Members by any user with the Manage workspace role.
Next steps
- Configure authentication with role mapping.
- Manage users and assign roles.
- Create service accounts with appropriate workspace access.