📅  最后修改于: 2020-11-01 03:43:00             🧑  作者: Mango
在本章中,我们将讨论有关项目中的用户权限。
步骤1-登录到您的GitLab帐户,然后单击“设置”选项卡下的“成员”选项-
步骤2-将打开以下屏幕,将成员添加到您的项目中-
步骤3-单击“选择角色权限”部分下的下拉列表时,您将看到不同类型的权限-
您可以看到“添加用户”一章,以设置用户权限并将用户添加到项目中。在这里,我们将简要讨论可应用于项目的不同用户权限。
下表显示了不同类型用户的可用权限级别-
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 |