> For the complete documentation index, see [llms.txt](https://docs.pipekit.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pipekit.io/organizations-and-access/rbac/workspaces.md). Agents can also search and read this documentation through its [MCP server](https://docs.pipekit.io/~gitbook/mcp).

# Workspaces

What a workspace scopes under multi-tenant RBAC: pipes, templates, runs, and the cluster and namespace pairs they run on.

A workspace is a named scope that binds one or more cluster and namespace pairs, and it is the unit of access control in [multi-tenant RBAC](https://docs.pipekit.io/organizations-and-access/rbac.md). You create, rename, and delete workspaces in your RBAC policy, not in the UI. To change a workspace, edit the `workspaces` section of the policy file and publish a new version. Refer to [Create a Policy File](https://docs.pipekit.io/organizations-and-access/rbac/publish-rbac-policy.md#create-a-policy-file). For what users see when they switch between workspaces, refer to [Workspaces](https://docs.pipekit.io/using-pipekit/workspaces.md) in Using Pipekit.

## Pipes and templates

Every pipe and template belongs to one workspace. A pipe you create in the UI belongs to the workspace you are in. A workflow you submit with the CLI belongs to the workspace that holds its cluster and namespace. A workflow you submit with the CLI joins the pipe with the same name in that workspace, so two workspaces can each have a pipe with the same name. The CLI never refuses a workflow because of its name. If the pipe with that name is stopped or linked to a git repository, the CLI creates a second pipe with the same name.

When you create or rename a pipe in the UI or the API, Pipekit refuses a name that another pipe in the workspace already uses.

A role in that workspace decides what a user can do with the pipe or template, including its secrets, alerts, and run conditions.

A pipe runs only on the cluster and namespace pairs its own workspace holds. A run, cron trigger, or template run that targets any other namespace fails with the `target_not_in_workspace` error. To run a pipe on another namespace, add that namespace to the pipe's workspace in your policy.

{% hint style="info" %}
A pipe or template created under basic permissions belongs to no workspace. After the switch to multi-tenant RBAC, nobody can open it, and Pipekit shows the not-found page for it. To move existing pipes and templates into workspaces, work with Pipekit as described in [Set Up Multi-tenant RBAC](https://docs.pipekit.io/organizations-and-access/rbac/set-up.md).
{% endhint %}

## Runs

The `Runs` list shows the runs in the workspace you are in.

## Clusters

Clusters belong to your organization, not to a workspace. Only an Org Admin sees `CLUSTERS` in the navigation and can open the `Clusters` list, which shows every cluster in the organization.

The `orgAdmin` role does not grant access inside a workspace. An Org Admin with no workspace role sees every cluster, but no runs, pipes, or templates. To see the work in a workspace, an Org Admin needs a role binding on that workspace.

## Renaming a workspace

The workspace name is part of each workspace URL. Renaming a workspace in your policy breaks saved links that carry the old name.
