Permission Groups

4 min read

Permission Groups #

Overview

A Permission Group defines what a user can do with a resource. For example, one group can allow only viewing an application, and another can allow viewing, editing and deleting it. Permission Groups are reused in policies, so you define the actions once and apply them wherever they are needed.

Using Permission Groups gives you the following benefits.

Controlled access: users get only the permissions they need on the resources they work with.

Simpler management: one group is defined once and reused across policies.

Better security: access is granted in a consistent, reviewable way.

Less manual work: permissions do not have to be set again for every project or service.

Note: Creating a Permission Group does not give a user access. Add the group to a policy, and assign the policy through a user or a User Group.

1. View Permission Groups #

  1. 1

    Click User Roles in the left menu. The USER POLICIES menu opens.

  2. 2

    Click Permission Groups.

Figure 1: Manage Permission Group page

Figure 1: Manage Permission Group page

Swipe horizontally to view all columns →
Column or control What it shows or does
Permission Group Name The name of the reusable set of permissions.
Resource Type The category of object, such as Service, Cluster, Project or User, that the group controls access to. The permissions in the group are the actions available for that category, for example viewing, editing or deleting.
Permission URLs The list of actions that this group allows, such as viewing or editing a service. Each name is one permission.
Row action menu The Edit and Delete actions, subject to your access.
New Permission Group Opens the creation form.

Use the Name and Resource Type filters to narrow the list. Add Permission URLs through the additional-filter control to find groups that contain a particular permission. Click Clear Filters to restore the list.

2. Create a Permission Group #

Identify the resource type and the actions that the intended users need before you start.

  1. 1

    Click New Permission Group.

  2. 2

    Enter a meaningful Permission Group Name, for example Application-Read-Only.

  3. 3

    Choose the resource type in Select Resources.

  4. 4

    In Select Permissions, select the checkboxes of the permissions to include.

  5. 5

    Click the right arrow to move them to Assigned Permissions. To remove one, select it there and click the left arrow.

  6. 6

    Review Assigned Permissions and click Save.

Figure 2: Create a new Permission Group

Figure 2: Create a new Permission Group

Swipe horizontally to view all columns →
Field Required Guidance
Permission Group Name Yes Use a name that describes the resource and the responsibility.
Select Resources Yes Select the resource type before you choose permissions.
Select Permissions Yes Lists the permissions available for the selected resource. Select the required permissions and click the right arrow to add them to the Permission Group. A checkbox only selects an item; it is not assigned until you use the arrow.
Assigned Permissions Review Lists the permissions currently included in the Permission Group. Users assigned to the group receive these access rights. Click the left arrow to remove a permission.

Note: Changing Select Resources resets the selected and assigned permissions. Choose the resource type first. Each panel has its own search, and Select All selects only the items that are visible under the current search.

3. Edit a Permission Group #

  1. 1

    Open the row action menu of the group and select Edit.

  2. 2

    Change the name, or move permissions between the two panels.

  3. 3

    Click Update.

Figure 3: Edit Permission Group

Figure 3: Edit Permission Group

A Permission Group is reused by policies, so review the affected policies and verify the resulting access after a change. If the requirement is a different responsibility, create a separate group instead.

4. Delete a Permission Group #

Open the row action menu and select Delete. Follow the shared deletion procedure. BuildPiper can block the deletion, depending on the dependencies that it reports.

5. Troubleshooting #

Swipe horizontally to view all columns →
Situation What to check
Save reports a missing field Enter a Permission Group Name and choose a resource type.
A permission cannot be found Confirm the resource type and clear the search. The permissions depend on the selected resource.
A checked permission is not in Assigned Permissions Click the right arrow after you check it.
Previous selections disappear Check whether the resource type changed. Selecting another type resets both lists.
The group exists, but a user cannot use the feature Review the policy that contains the group and the policy assignments of the user.
Edit or Delete is unavailable Your account may lack the permission for that operation.

Read more: Policies

Common Procedures and Troubleshooting