Set Up Multi-tenant RBAC
Switch your organization from basic permissions to multi-tenant RBAC, then add teams.
This page takes your organization from basic permissions to multi-tenant RBAC. For what multi-tenant RBAC is, refer to Multi-tenant RBAC.
What changes at the first publish
The first publish switches your organization from basic permissions to multi-tenant RBAC. From that moment, the policy alone decides who can do what:
The permissions you granted on the
Userstab no longer apply.A user whose email and groups match no binding has no access. Pipekit tells them to ask their Org Admin.
The
orgAdminrole covers organization settings and clusters only. An Org Admin sees no runs, pipes, or templates without a workspace role.Only Org Admins can open the
Orgpage and theClusterslist.Users see a workspace switcher, and pages carry the workspace in their URL. For what users see, refer to Workspaces in Using Pipekit.
Set up your organization
Configure SSO and SCIM. Connect your identity provider, as described for Okta and Microsoft Entra. Assign your groups to the Pipekit app in your identity provider. By default, your identity provider syncs only the groups you assign to the Pipekit app, not every group in your directory. Check that the groups appear on the
Groupstab underPeople & Access.Connect your clusters. Refer to Clusters.
Plan your workspaces. Decide which
{cluster, namespace}pairs each team works in. Each pair can belong to one workspace only.Write the policy. Bind your admin group to
orgAdminand each team group to its workspace. Use auser:binding for one person only when no group fits, for example a CI account. For the file format, refer to Publish RBAC Policy.Check the policy before you publish.
Grant
orgAdminto yourself, to at least one other person, and to your CI account. Pipekit rejects a policy unless anorgAdmingrant names auser:email or an IdP group that exists. Pipekit does not check that theuser:email belongs to a Pipekit account, so check the CI email for typos. If everyorgAdmingrant goes to an IdP group with no members, Pipekit only warns. That publish locks out every Org Admin until a member syncs to one of those groups.Give every Org Admin who works with runs a workspace role as well.
Confirm that each
idp:team:name matches a group on theGroupstab. A binding to a group that has not synced yet is a warning, and it starts to work when the group appears.
Run a dry run and read the plan. Refer to Validate Without Publishing.
Publish the policy. Your first publish needs the basic admin permission from the
Userstab. Refer to Publish a Policy.Check the access each user has. Open
UsersunderPeople & Access. Refer to Viewing access under a multi-tenant RBAC policy.
Invite a user by email only when your identity provider does not provision them through SCIM.
Set up a team
Add the team's workspace to the policy. Give it a name and bind the relevant
{cluster, namespace}pairs.Bind the team's groups to roles. For example,
team-data-engineersgets Editor in dev and Viewer in prod, andteam-data-leadsgets Editor in both.Assign the groups to the Pipekit app in your identity provider, so that they sync.
Publish the new policy version.
Add users to the groups in your identity provider. Their access follows their group membership, with no change in Pipekit.
To check who can do what in the workspace, open Users under People & Access and filter by that workspace.
Last updated