Configuring Repo-Level Permissions
Constraints
| Item | Description |
|---|---|
| Permission constraints |
|
| Function constraint | For public repositories, you have the code download permission and the MR comment permission by default, which cannot be deleted or modified. Other permissions are the same as the default permissions of private repositories. |
Procedure
- Make sure you have the administrator permissions, go to the CodeArts Repo homepage, and click the name of the code repository to be set. On the displayed code repository details page, click Members on the navigation bar to add members to the code repository.

- Configure permissions for code repository members: Choose Settings > Security Management > Permissions.
Enable Use Project Permissions as required. If it 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.You can configure the same permissions to multiple roles of repository members by referring to Helpful Links. If permission inheritance is enabled, permissions of repository members cannot be configured in batches.
Helpful Links
- Go to the permission page of the Test_Repo code repository.
- Select the check boxes on the left of Test manager and Operation manager, and click
. - Select the check box on the left of Delete, disable Delete, and click OK, as shown in the following figure. Members who have the roles of Test manager and Operation manager then cannot delete the repository.

Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot