Role and Member Management In Your DevOps project
In DevOps project scope, you can grant the following resources’ permissions to a role:
- Credentials
- DevOps Settings
- Access Control
At least one DevOps project has been created, such as . Besides, you need a user of the admin
role (for example, devops-admin
) at the DevOps project level.
In DevOps Project Roles, there are three available built-in roles as shown below. Built-in roles are created automatically by KubeSphere when a DevOps project is created and they cannot be edited or deleted.
Log in to the console as and select a DevOps project (for example,
demo-devops
) on the DevOps Projects page.Note
In Pipeline Management, select the permissions that you want this role to contain. For example, Pipeline Management and Pipeline Viewing are selected for this role. Click OK to finish.
Note
Depends on means the major permission (the one listed after Depends on) needs to be selected first so that the affiliated permission can be assigned.
Newly created roles will be listed in DevOps Project Roles. You can click on the right to edit it.
The role of
pipeline-creator
is only granted Pipeline Management and Pipeline Viewing, which may not satisfy your need. This example is only for demonstration purpose. You can create customized roles based on your needs.
In DevOps Project Settings, select DevOps Project Members and click Invite.
Click to invite a user to the DevOps project. Grant the role of
pipeline-creator
to the account.Note
The user must be invited to the DevOps project’s workspace first.
You can also change the role of an existing member by editing it or remove it from the DevOps project.