Repository Member Permissions
Repository Creation Permission
Operation |
Project Manager |
Developer |
Others |
---|---|---|---|
Create repositories |
√ |
√ |
- |
Repository Operation and Viewing Permission
Type |
Operation |
Creator |
Administrator |
Committer |
Developer |
Viewer (Repository Member) |
Remarks |
---|---|---|---|---|---|---|---|
Code |
Access code online |
√ |
√ |
√ |
√ |
√ |
- |
Edit code online |
√ |
√ |
√ |
√ |
× |
If a protected branch is set, permissions of this protected branch are used instead. |
|
Download code online |
√ |
√ |
√ |
√ |
√ |
- |
|
Local code clone |
√ |
√ |
√ |
√ |
√ |
- |
|
Local code push |
√ |
√ |
√ |
√ |
× |
If a protected branch is set, permissions of this protected branch are used instead. |
|
Fork |
Fork a project |
√ |
√ |
√ |
√ |
√ |
When you select a project for the Fork repository, only the projects for which you have the project-level developer permission or higher are displayed. |
Members |
Add a member |
√ |
√ |
× |
× |
× |
- |
Edit a member |
√ |
√ |
× |
× |
× |
- |
|
Remove a member |
√ |
√ |
× |
× |
× |
- |
|
Approve a member |
√ |
√ |
× |
× |
× |
- |
|
View a member |
√ |
√ |
√ |
√ |
√ |
- |
|
MR |
Create an MR |
√ |
√ |
√ |
√ |
× |
- |
View an MR |
√ |
√ |
√ |
√ |
√ |
- |
|
Merge an MR |
√ |
√ |
√ |
× |
× |
|
|
Edit an MR (Open) |
√ |
√ |
√ |
× |
× |
|
|
Close an MR |
√ |
√ |
√ |
× |
× |
||
Re-open an MR |
√ |
√ |
√ |
× |
× |
||
Edit a merged MR (Merged) |
× |
× |
× |
× |
× |
- |
|
Cherry-pick an MR (generate an MR) |
√ |
√ |
√ |
√ |
× |
A temporary branch containing cherry-pick is automatically generated. The cherry pick operation fails in the following scenarios:
|
|
Revert an MR (generate an MR) |
√ |
√ |
√ |
√ |
× |
A temporary branch containing revert is automatically generated. The revert operation fails in the following scenarios:
|
|
Cherry-pick an MR (No MR is generated, and new code is directly merged into the related branch.) |
√ |
√ |
√ |
√ |
× |
If a protected branch is set, permissions of this protected branch are used instead. |
|
Revert MR (No MR is generated, and new code is directly merged into the related branch.) |
√ |
√ |
√ |
√ |
× |
||
Delete the source branch |
√ |
√ |
√ |
√ |
× |
|
|
Vote scoring in the scoring mechanism |
√ |
√ |
√ |
√ |
√ |
|
|
Review in the approval mechanism |
√ |
√ |
√ |
√ |
√ |
Only MR reviewers can review the MR. |
|
Approve in the approval mechanism |
√ |
√ |
√ |
× |
× |
Only MR approvers and √ roles can review MRs. |
|
Delete an MR |
× |
× |
× |
× |
× |
No one can delete an MR. |
|
Score |
Score |
√ |
√ |
√ |
√ |
× |
The repository configuration prevails:
|
Reviews |
Add a review |
√ |
√ |
√ |
√ |
√ |
You can add a review for which you have permission to view MR. |
Edit a review |
× |
× |
× |
× |
× |
Only reviewers can edit their reviews. |
|
Delete a review |
× |
× |
× |
× |
× |
||
Reply a review |
√ |
√ |
√ |
√ |
√ |
You can reply a review for which you have permission to view. |
|
View a review |
√ |
√ |
√ |
√ |
√ |
You can view all reviews for which you have permission to view MR. |
|
Resolve a review |
√ |
√ |
√ |
× |
× |
|
|
Pipeline |
Trigger an MR pipeline |
√ |
√ |
√ |
√ |
× |
The pipeline execution plan is enabled. |
Branches |
Create a branch |
√ |
√ |
√ |
√ |
× |
|
Edit a branch |
√ |
√ |
√ |
√ |
× |
||
Delete a branch |
√ |
√ |
√ |
√ |
× |
A protected branch cannot be deleted by any user. |
|
View a branch |
√ |
√ |
√ |
√ |
√ |
- |
|
Tag |
Create a tag |
√ |
√ |
√ |
√ |
× |
If Developers cannot create tags is selected, this operation cannot be performed. |
Delete a tag |
√ |
√ |
× |
× |
× |
A protected tag cannot be deleted by any user. |
|
View a tag |
√ |
√ |
√ |
√ |
√ |
- |
|
Settings |
View settings |
√ |
√ |
× |
× |
× |
- |
Edit settings |
√ |
√ |
× |
× |
× |
- |
|
Rename a repository |
√ |
× |
× |
× |
× |
- |
|
Transfer repository ownership |
√ |
× |
× |
× |
× |
- |
|
Repository |
Create a repository |
√ |
√ |
√ |
√ |
× |
- |
Delete a repository |
√ |
√ |
× |
× |
× |
- |
|
Display a repository |
√ |
√ |
√ |
√ |
√ |
The repository is displayed for all repository members. |
|
Activities |
View updates |
√ |
√ |
√ |
√ |
√ |
- |
Associated work items |
View associated work items |
√ |
√ |
√ |
√ |
√ |
- |
Home |
View home |
√ |
√ |
√ |
√ |
√ |
- |
Repository statistics |
View the statistics |
√ |
√ |
√ |
√ |
√ |
- |
Update the statistics |
√ |
√ |
√ |
√ |
× |
- |
|
SSH and HTTP settings |
View and edit |
√ |
√ |
√ |
√ |
√ |
- |
IP address whitelist |
View and edit |
× |
× |
× |
× |
× |
The administrator can view and edit the information. |
For details about how to set a protected branch policy, see Protected Branches.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.