Help Center/ CodeArts Repo/ User Guide/ Managing Repo Member Permissions/ Configuring Repo-Level Permissions
Updated on 2024-11-22 GMT+08:00

Configuring Repo-Level Permissions

Only modifiable by the project administrator and the owners of parent repository groups and repositories. After confirming that you are an administrator, go to the CodeArts Repo homepage and click the name of the code repository to be set. On the code repository details page that is displayed, click Member in the navigation tree to add members to the code repository. Complete the member configuration of the code repository. In the navigation pane, choose Settings. On the settings page that is displayed, choose Security Management >. Permissions. If Inherit from project is enabled, the permissions of members in the current role list will be the same as those of the project, and the current permission configuration will be overwritten.

Click on the right to sync custom roles of the project. By default, custom roles do not have the permission to perform operations on Repo. After the synchronization, you can add permissions listed in Table 1 as required.

Table 1 Configuring permissions for repo roles

Role/Permission

Permission

Project Manager

Product Manager

Test Manager

Operation Manager

System Engineer

Committer

Developer

Tester

Participant

Viewer

Custom Role

Repository

fork

B

C

B

C

B

B

B

C

C

D

C

Delete

B

D

D

D

D

D

D

D

D

D

C

Set

B

D

D

D

D

D

D

D

D

D

C

Code

Commit

B

C

C

C

A

A

A

C

C

D

C

Download

B

C

C

C

A

A

A

C

C

D

C

Members

Add

B

D

D

D

D

D

D

D

D

D

C

Edit

B

D

D

D

D

D

D

D

D

D

C

Delete

B

D

D

D

D

D

D

D

D

D

C

Branch

Create

B

C

C

C

B

B

B

C

C

D

C

Delete

B

C

C

C

B

B

B

C

C

D

C

Tag

Create

B

C

C

C

B

B

B

C

C

D

C

Delete

B

C

C

C

C

C

C

C

C

D

C

MR

Create

B

C

C

C

B

B

B

C

C

D

C

Edit

B

D

D

D

C

B

C

D

D

D

C

Comment

B

C

C

C

B

B

B

C

C

C

C

Review

B

D

D

D

B

B

B

D

D

C

C

Approve

B

D

D

D

C

B

C

D

D

D

C

Merge

B

D

D

D

C

B

C

D

D

D

C

Close

B

D

D

D

C

B

C

D

D

D

C

Re-open

B

D

D

D

C

B

C

D

D

D

C

  • A: indicates that the role has the permission by default and the permission cannot be removed. B: indicates that the role has the permission by default and the permission can be removed. C: indicates that the role can have the permission assigned. D: indicates that the role cannot have the permission assigned.
  • Download and comment permissions are fixed in the public repos' settings, while other permissions mirror those of the private repos