Access Management

/* Buttons */ /* Paragraph */ /* HERO */ /* BOX CONTAINER */ /* BOX */ /* NO STYLE BOX (3rd box fix) */ /* TABLET */ /* MOBILE */ /* optional: hide empty box on mobile */

Overview

Access Management controls who can sign in to BuildPiper, which resources each person can see, and which actions they can perform. Instead of giving permissions to every user one by one, you build access for a group of functionalities and assign them to people or teams.

This document explains these parts in simple terms, shows how they connect, and gives the order in which to set them up.

1. How Access Is Built

Access is built in layers. Each layer answers one question.

Part In simple terms Example
Permission Group A set of allowed actions for a resource. View a service
Policy Permission Groups plus the resources they apply to. Here you can add filters to a specific resource or a group of a kind of resource. View only the catalog-api service
User Group A group of users that shares the same access/policy. catalog-observers
User A person who receives access through a group or directly. reader@example.com
External User Group Links a group from your identity provider to policies. Your AD could have different group naming convention than that in BuildPiper. This functionality allows you to map the external groups to BuildPiper allowed policies. platform-catalog-observers
Policy Template A ready-made/default user groups and associated policy setup that is reused when an application is created. standard-application-access
Figure 1: How Permission Groups, Policies, User Groups and Users connect
Figure 1: How Permission Groups, Policies, User Groups and Users connect
Remember: Signing in only proves who a person is. Access to applications and actions comes from the policies assigned to them. A user who can sign in but has no policies assigned cannot use any resources.

2. Key Terms

Term Meaning
Resource type (entity) An important resource in BuildPiper, such as Service, Cluster, Project or User.
Resource One item of that category, such as the catalog-api service.
Permission A named action on a resource type, such as viewing the details of a service, ability to perform Builds etc.

Viewing a list, opening the details of a record and changing the record are separate permissions. For example, permission to view a service does not include permission to edit it.

3. Ways a User Gets Access

Path How it works
Through a User Group The user is a member of a User Group. The group has policies.
Directly The policy is attached to the user. Use this only when one person needs extra access.
Through an external group The user belongs to a group in org identity provider. An External User Group maps that group to policies.

4. Where to Find Each Feature

Feature Navigation
Permission Groups User Roles → Permission Groups
Policies User Roles → Policies
Policy Templates User Roles → Policy Templates
User Groups Manage User → Manage User Groups
External User Groups Manage User → Manage External Groups
Users Manage User → Manage Users
Authentication / SSO System Settings → Authentication & Identity Management

Resource types and their actions have no separate page. You select them while you create or edit a Permission Group.

5. Recommended Setup Order

Figure 2: Recommended setup order
Figure 2: Recommended setup order

1

Decide which resources and actions a person or team needs.

2

Create Permission Groups for those actions.

3

Create Policies that select the Permission Groups and the resources.

4

Create User Groups and attach the policies.

5

Add Users and assign their User Groups.

6

If you use an identity provider, configure Authentication / SSO and create External User Groups.

7

Test the access with an account that represents the intended user.
Note: For repeated application setup, prepare a Policy Template before you create the application.

Creating accounts, changing access and configuring authentication need the matching administrative permissions, so the actions that you see depend on your account.

Overview

Access Management controls who can sign in to BuildPiper, which resources each person can see, and which actions they can perform. Instead of giving permissions to every user one by one, you build access for a group of functionalities and assign them to people or teams.
This document explains these parts in simple terms, shows how they connect, and gives the order in which to set them up.

1. How Access Is Built

Access is built in layers. Each layer answers one question.
Part In simple terms Example
Permission Group A set of allowed actions for a resource. View a service
Policy Permission Groups plus the resources they apply to. Here you can add filters to a specific resource or a group of a kind of resource. View only the catalog-api service
User Group A group of users that shares the same access/policy. catalog-observers
User A person who receives access through a group or directly. reader@example.com
External User Group Links a group from your identity provider to policies. Your AD could have different group naming convention than that in BuildPiper. This functionality allows you to map the external groups to BuildPiper allowed policies. platform-catalog-observers
Policy Template A ready-made/default user groups and associated policy setup that is reused when an application is created. standard-application-access
Figure 1: How Permission Groups, Policies, User Groups and Users connect
Figure 1: How Permission Groups, Policies, User Groups and Users connect
Remember: Signing in only proves who a person is. Access to applications and actions comes from the policies assigned to them. A user who can sign in but has no policies assigned cannot use any resources.

2. Key Terms

Term Meaning
Resource type (entity) An important resource in BuildPiper, such as Service, Cluster, Project or User.
Resource One item of that category, such as the catalog-api service.
Permission A named action on a resource type, such as viewing the details of a service, ability to perform Builds etc.
Viewing a list, opening the details of a record and changing the record are separate permissions. For example, permission to view a service does not include permission to edit it.

3. Ways a User Gets Access

Path How it works
Through a User Group The user is a member of a User Group. The group has policies.
Directly The policy is attached to the user. Use this only when one person needs extra access.
Through an external group The user belongs to a group in org identity provider. An External User Group maps that group to policies.

4. Where to Find Each Feature

Feature Navigation
Permission Groups User Roles → Permission Groups
Policies User Roles → Policies
Policy Templates User Roles → Policy Templates
User Groups Manage User → Manage User Groups
External User Groups Manage User → Manage External Groups
Users Manage User → Manage Users
Authentication / SSO System Settings → Authentication & Identity Management
Resource types and their actions have no separate page. You select them while you create or edit a Permission Group.

5. Recommended Setup Order

Figure 2: Recommended setup order
Figure 2: Recommended setup order
1
Decide which resources and actions a person or team needs.
2
Create Permission Groups for those actions.
3
Create Policies that select the Permission Groups and the resources.
4
Create User Groups and attach the policies.
5
Add Users and assign their User Groups.
6
If you use an identity provider, configure Authentication / SSO and create External User Groups.
7
Test the access with an account that represents the intended user.
Note: For repeated application setup, prepare a Policy Template before you create the application.
Creating accounts, changing access and configuring authentication need the matching administrative permissions, so the actions that you see depend on your account.