Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Multi-tenant RBAC

Multi-tenant RBAC scopes access to workspaces and grants roles to your identity provider groups through an RBAC policy.

This page applies when your organization uses multi-tenant RBAC. You see a workspace switcher in the navigation bar, or an Enforcing policy banner on the Users tab. If you see neither, your organization uses basic permissions: read Basic Permissions instead. If you plan to switch to multi-tenant RBAC, read on, then follow Set Up Multi-tenant RBAC.

Multi-tenant RBAC splits your organization into workspaces and grants roles to your identity provider groups in each one. You define it in an RBAC policy file and publish it. To switch your organization to multi-tenant RBAC, ask your Pipekit account contact or email hello@pipekit.io. For the steps, refer to Set Up Multi-tenant RBAC.

Scope of enforcement

Pipekit enforces access at the Pipekit API and UI.

Workspaces

A workspace is a named scope that binds one or more {cluster, namespace} pairs and serves as the unit of access control. Every pipe, run, and template in Pipekit belongs to exactly one workspace. Each {cluster, namespace} pair can only belong to one workspace.

A user with access to team-data has no visibility into team-ml. For what a workspace scopes, refer to Workspaces. For how users switch between workspaces, refer to Workspaces in Using Pipekit.

Roles

You assign each user or group one role per workspace. Bindings are additive. When a user holds access at both org scope and workspace scope, the higher-privilege role applies. Org Admin is the exception: it grants no access inside a workspace. An Org Admin who needs to see runs, pipes, or templates also needs a workspace role, bound at org scope or on that workspace.

Role
Binding scope
What they can do

Org Admin

Org only

Manage users, clusters, workspaces, SSO mappings, and role bindings across the entire organization

Workspace Admin

Org or Workspace

Same actions as Editor in the current release. Future releases will add actions that only a Workspace Admin can take

Editor

Org or Workspace

Create, edit, and delete WorkflowTemplates and CronWorkflows; submit and manage workflow runs

Viewer

Org or Workspace

Read-only access to pipes, runs, logs, and templates (no secrets visibility)

Org Admin is the only role restricted to org scope, because it manages org-level entities that do not exist at workspace level.

Groups and binding scopes

When a user's group membership changes in your identity provider, their Pipekit access updates automatically.

Bindings operate at two scopes:

  • Org scope applies to all workspaces automatically. Use it for platform, ops, or admin groups that need cross-workspace access. One binding at org scope replaces one binding per workspace.

  • Workspace scope applies to a single named workspace. Use it for team-level access where different groups need different roles in different environments.

The role's action set is unchanged regardless of scope. For cross-workspace read-only access, for example a platform ops team that monitors all teams, bind Viewer at org scope.

When a user belongs to both an org-scoped group and a workspace-scoped group, the higher-privilege role applies:

A workspace binding never reduces org-level access. If a group should not have elevated access in a specific workspace, do not give it an org-scoped role. Use explicit workspace bindings instead.

You can also bind a role to one user by email, for example a CI account. Group bindings are easier to maintain, because your identity provider keeps them current. To write a user binding, refer to Publish RBAC Policy.

Permission reference

Action
Org Admin
WS Admin
Editor
Viewer

Org management

Invite & remove users

✓

Manage clusters

✓

Manage RBAC (workspaces, bindings, SSO mappings)

✓

Manage alert providers

✓

Config as code

✓

Pipes

View pipes & cron schedules

✓

✓

✓

Create / edit pipes

✓

✓

Delete pipes

✓

✓

Rotate pipe deploy key

✓

✓

Manage pipe alert rules

✓

✓

Secrets

View secret environments

✓

✓

Create / edit secrets

✓

✓

Delete secret environments

✓

✓

Runs

View runs & logs

✓

✓

✓

Submit workflows

✓

✓

Cancel / retry / stop workflows

✓

✓

Templates

View templates

✓

✓

✓

Manage workflow templates (create / edit / delete)

✓

✓

Manage cron schedules (suspend / resume)

✓

✓

To check the access each user has, refer to Viewing access under a multi-tenant RBAC policy.

How Pipekit enforces access

Default-deny

Pipekit grants no access implicitly. A user must have an explicit workspace binding to interact with any pipe, run, or template in Pipekit. Namespaces added to a cluster are inaccessible to all users until an Org Admin explicitly binds them to a workspace.

Workspace isolation in the UI

Users see only the workspaces they have access to. An Org Admin sees every workspace, but without a workspace role its lists stay empty. Pipes, runs, and templates from other workspaces are not visible. They are absent from all views, not hidden behind a permission error. Clusters are organization-level: only an Org Admin sees the Clusters list, and it shows every cluster in the organization.

Submission enforcement

When you submit a workflow from the UI, CLI, or Python SDK, Pipekit checks that you have a binding in a workspace that covers the target cluster and namespace. If not, Pipekit rejects the submission before it reaches the workflow engine.

Pipekit does not modify the workflow spec; it validates access and either allows or rejects.

Identity provider

Multi-tenant RBAC binds roles to groups your identity provider syncs through SCIM. Users who belong to no bound group can sign in, but they have no access. For setup, refer to Set Up Multi-tenant RBAC, Okta, and Microsoft Entra.

Last updated