Purchasing and Authorizing CodeArts Deploy
Prerequisites
You have registered a HUAWEI ID and enabled Huawei Cloud services.
Adding and Assigning a Role to a Member
The permissions of CodeArts Deploy are three-layered from top to bottom to manage user behaviors. A new member must be assigned a specified role to use CodeArts Deploy.
- Add members and assign roles to them. For details, see CodeArts User Guide > "Preparations" > Managing Members.
- Configure permissions for different roles to use CodeArts Deploy.
Configuring Project-Level Permissions
- Access the CodeArts homepage.
- Click the target project name to access the project.
- Choose Settings > General > Service Permissions. On the displayed Permissions page, add project-level permissions for the user as prompted.
Role/Operation |
View |
Create |
Edit |
Delete |
Deploy |
Clone |
Disable |
Create Environment |
Assign Permissions |
Manage Groups |
Create Resource |
---|---|---|---|---|---|---|---|---|---|---|---|
Project manager |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
Project administrator |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
× |
Product manager |
√ |
× |
× |
× |
× |
× |
× |
× |
× |
× |
× |
Test manager |
√ |
× |
× |
× |
× |
× |
× |
× |
× |
× |
× |
O&M manager |
√ |
× |
× |
× |
× |
× |
× |
√ |
× |
× |
√ |
System engineer |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
× |
× |
√ |
× |
Committer |
√ |
√ |
√ |
√ |
√ |
√ |
× |
× |
× |
√ |
× |
Developer |
√ |
√ |
√ |
√ |
√ |
√ |
× |
× |
× |
√ |
√ |
Tester |
√ |
× |
× |
× |
× |
× |
× |
× |
× |
× |
× |
Participant |
√ |
× |
× |
× |
× |
× |
× |
× |
× |
× |
× |
Viewer |
√ |
× |
× |
× |
× |
× |
× |
× |
× |
× |
× |
Configuring Application-Level Permissions
- Log in to the CodeArts platform.
- Click the target project name to access the project.
- Choose CICD > Deploy.
- Click the target application name to access the application.
- Click Edit. The Deployment Actions page is displayed.
- Click Permissions. On the displayed Permissions page, add application-level permissions for the user as prompted.
Role/Operation |
View |
Edit |
Delete |
Deploy |
Clone |
Disable |
Create Environment |
Assign Permissions |
---|---|---|---|---|---|---|---|---|
App creator |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
Project administrator |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
Project manager |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
Product manager |
√ |
× |
× |
× |
× |
× |
× |
× |
Test manager |
√ |
× |
× |
× |
× |
× |
× |
× |
O&M manager |
√ |
× |
× |
× |
× |
× |
√ |
× |
System engineer |
√ |
√ |
√ |
√ |
√ |
√ |
× |
× |
Committer |
√ |
√ |
√ |
√ |
√ |
× |
× |
× |
Developer |
√ |
√ |
√ |
√ |
√ |
× |
× |
× |
Tester |
√ |
× |
× |
× |
× |
× |
× |
× |
Participant |
√ |
× |
× |
× |
× |
× |
× |
× |
Viewer |
√ |
× |
× |
× |
× |
× |
× |
× |

- Roles with the Permissions permission can modify the permission matrix, but permissions of the Project creator and App creator roles cannot be modified.
- If you do not have the Edit permission, the editing page cannot be displayed.
If you have the Edit permission but do not have the Permissions, you cannot edit other permissions.
Operation |
System Template |
Custom Template |
|||||
---|---|---|---|---|---|---|---|
View |
All users |
All users of the same tenant |
|||||
Create |
N/A |
All users of the same tenant |
|||||
Edit |
N/A |
Template creator and tenant administrator |
|||||
Delete |
N/A |
Template creator and tenant administrator |
Configuring the Host Cluster Permissions
- Log in to the CodeArts platform.
- Click the target project name to access the project.
- Choose Settings > General > Basic Resources. The Host Clusters page is displayed.
Choose CICD > Deploy. Click Basic Resources. The Host Clusters page is displayed by default.
- Click the
icon in the Operation column of a cluster, click Assign Permissions, and configure operation permissions for each role.
Role/Permission |
View |
Edit |
Delete |
Add Host |
Clone Host |
Assign Permissions |
---|---|---|---|---|---|---|
Host cluster creator |
√ |
√ |
√ |
√ |
√ |
√ |
Project administrator |
√ |
√ |
√ |
√ |
√ |
√ |
Project manager |
√ |
√ |
√ |
√ |
√ |
√ |
Test manager |
√ |
× |
× |
× |
√ |
× |
O&M manager |
√ |
× |
× |
× |
√ |
× |
System engineer |
√ |
× |
× |
× |
× |
× |
Committer |
√ |
× |
× |
× |
× |
× |
Developer |
√ |
√ |
√ |
√ |
√ |
× |
Tester |
√ |
× |
× |
× |
√ |
× |
Participant |
√ |
× |
× |
× |
√ |
× |
Viewer |
√ |
× |
× |
× |
√ |
× |

Roles with Manage Permissions can modify the permission matrix (including the permission to create host clusters), but permissions of the Project admin and Host cluster creator roles cannot be modified.
Only the Project administrator, Project manager, O&M manager, and Developer have the permission to create host clusters.
Configuring Environment Permissions
- Log in to the CodeArts platform.
- Click the target project name to access the project.
- Choose CICD > Deploy.
- Click the target application name to access the application.
- Click Edit. The Deployment Actions page is displayed.
- Click Environment Management to access the Environment Management page.
- Click the
icon in the Operation column of an environment to configure operation permissions for each role.
Role/Permission |
View |
Edit |
Delete |
Deploy |
Assign Permissions |
---|---|---|---|---|---|
Environment creator |
√ |
√ |
√ |
√ |
√ |
Project administrator |
√ |
√ |
√ |
√ |
√ |
Project manager |
√ |
√ |
√ |
√ |
√ |
Product manager |
√ |
× |
× |
× |
× |
Test manager |
√ |
× |
× |
× |
× |
O&M manager |
√ |
√ |
√ |
√ |
√ |
System engineer |
√ |
√ |
√ |
√ |
× |
Committer |
√ |
√ |
√ |
√ |
× |
Developer |
√ |
√ |
√ |
√ |
× |
Tester |
√ |
× |
× |
× |
× |
Participant |
√ |
× |
× |
× |
× |
Viewer |
√ |
× |
× |
× |
× |

Roles with the Permissions permission can modify the permission matrix, but permissions of the Project administrator and Environment creator roles cannot be modified.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.