Roles and Permissions

Understanding and configuring workspace roles and the permission model

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:

LevelPurposeScopeExamples
Organization rolesControl access to organization-wide featuresEntire organizationAdmin, Member, View-Only Member
Workspace rolesControl what users can do within a workspaceSingle workspaceManage, Write, Annotator, Read

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:

RoleDescription
AdminFull access to the Admin Dashboard and all workspaces in the organization.
MemberCan have full access to any workspace they are added to. No access to the Admin Dashboard.
View-Only MemberRead-only access to workspaces they are added to. Cannot be granted write permissions in any workspace.

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:

RoleDescription
ManageFull admin access. Manage members, settings, and all resources.
WriteRead-write access. Create projects, log traces, run experiments.
AnnotateAnnotation access. View data and add annotations/feedback.
ReadRead-only access. View all data but cannot make changes.

Permissions by role

The table below shows the default permissions for each role. Custom roles can combine these permissions differently.

GroupPermissionManageWriteAnnotateRead
AdminInvite users to workspaceYesYesNoNo
AdminUpdate user roleYesNoNoNo
AdminDelete workspacesYesNoNoNo
Experiment managementChange project settingsYesNoNoNo
Experiment managementApprove and manage modelsYesNoNoNo
ObservabilityView project dataYesYesYesYes
ObservabilityLog trace, span, or threadYesYesNoNo

Custom roles

Custom roles are available on Enterprise plans. Reach out to enable this feature.

To create a custom role:

  1. Go to Admin Dashboard > Roles & Permissions.
  2. Click Create Role and configure permissions.
  3. 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