Gitlab 简明教程
GitLab - User Permissions
在本章中,我们将讨论项目中的用户权限。
In this chapter, we will discuss about user permissions in the project.
Steps for creating User Permissions
Step 1 - 登录您的 GitLab 帐户,然后在“设置”选项卡下单击“成员”选项 -
Step 1 − Login to your GitLab account and click on the Members option under Settings tab −

Step 2 - 将打开以下屏幕,以将成员添加到您的项目 -
Step 2 − It will open the below screen to add the member to your project −

Step 3 - 单击“选择角色权限”部分下的下拉菜单时,您将看到不同类型的权限 -
Step 3 − You will see the different types of permissions when you click on a dropdown under Choose a role permission section −

您可以参阅 Adding users 章节,了解如何设置用户权限和将用户添加到项目。在这里,我们将简要讨论可应用于项目的不同用户权限。
You can see the Adding users chapter for setting user permission and adding user to project. Here, we will briefly discuss about different user permissions which can be applied to projects.
下表显示了针对不同类型用户可用的权限级别 -
The following table shows available permission levels for different types of users −
S.N. |
Guest |
Reporter |
Developer |
Master |
1 |
Creates a new issue |
Creates a new issue |
Creates a new issue |
Creates a new issue |
2 |
Can leave comments |
Can leave comments |
Can leave comments |
Can leave comments |
3 |
Able to write on project wall |
Able to write on project wall |
Able to write on project wall |
Able to write on project wall |
4 |
- |
Able to pull project code |
Able to pull project code |
Able to pull project code |
5 |
- |
Can download project |
Can download project |
Can download project |
6 |
- |
Able to write code snippets |
Able to write code snippets |
Able to write code snippets |
7 |
- |
- |
Create new merge request |
Create new merge request |
8 |
- |
- |
Create new branch |
Create new branch |
9 |
- |
- |
Push and remove non protected branches |
Push and remove non protected branches |
10 |
- |
- |
Includes tags |
Includes tags |
11 |
- |
- |
Can create, edit, delete project milestones |
Can create, edit, delete project milestones |
12 |
- |
- |
Can create or update commit status |
Can create or update commit status |
13 |
- |
- |
Write a wiki |
Write a wiki |
14 |
- |
- |
Create new environments |
Create new environments |
15 |
- |
- |
Cancel and retry the jobs |
Cancel and retry the jobs |
16 |
- |
- |
Updates and removes the registry image |
Updates and removes the registry image |
17 |
- |
- |
- |
Can add new team members |
18 |
- |
- |
- |
Push and remove protected branches |
19 |
- |
- |
- |
Can edit the project |
20 |
- |
- |
- |
Can manage runners, job triggers and variables |
21 |
- |
- |
- |
Add deploy keys to project |
22 |
- |
- |
- |
Able to manage clusters |
23 |
- |
- |
- |
Configure project hooks |
24 |
- |
- |
- |
Can enable/disable the branch protection |
25 |
- |
- |
- |
Able to rewrite or remove Git tags |