2014-05-27 12:12:15 +00:00
|
|
|
# Permissions
|
|
|
|
|
2014-02-13 10:55:46 +00:00
|
|
|
Users have different abilities depending on the access level they have in a particular group or project.
|
2014-04-24 22:48:22 +00:00
|
|
|
|
2014-02-13 10:55:46 +00:00
|
|
|
If a user is both in a project group and in the project itself, the highest permission level is used.
|
2014-04-24 22:48:22 +00:00
|
|
|
|
2014-02-13 10:55:46 +00:00
|
|
|
If a user is a GitLab administrator they receive all permissions.
|
|
|
|
|
2015-12-28 21:06:40 +00:00
|
|
|
On public projects the Guest role is not enforced.
|
|
|
|
All users will be able to create issues, leave comments, and pull or download the project code.
|
2015-12-02 14:21:02 +00:00
|
|
|
|
2015-08-03 22:51:09 +00:00
|
|
|
To add or import a user, you can follow the [project users and members
|
2015-12-28 21:06:40 +00:00
|
|
|
documentation](../workflow/add-user/add-user.md).
|
2015-07-30 20:20:10 +00:00
|
|
|
|
2014-04-24 22:48:22 +00:00
|
|
|
## Project
|
|
|
|
|
|
|
|
| Action | Guest | Reporter | Developer | Master | Owner |
|
|
|
|
|---------------------------------------|---------|------------|-------------|----------|--------|
|
|
|
|
| Create new issue | ✓ | ✓ | ✓ | ✓ | ✓ |
|
|
|
|
| Leave comments | ✓ | ✓ | ✓ | ✓ | ✓ |
|
2015-12-02 14:21:02 +00:00
|
|
|
| Pull project code | | ✓ | ✓ | ✓ | ✓ |
|
|
|
|
| Download project | | ✓ | ✓ | ✓ | ✓ |
|
2014-04-24 22:48:22 +00:00
|
|
|
| Create code snippets | | ✓ | ✓ | ✓ | ✓ |
|
2015-06-30 11:33:02 +00:00
|
|
|
| Manage issue tracker | | ✓ | ✓ | ✓ | ✓ |
|
|
|
|
| Manage labels | | ✓ | ✓ | ✓ | ✓ |
|
2015-07-24 18:59:02 +00:00
|
|
|
| Manage merge requests | | | ✓ | ✓ | ✓ |
|
2014-04-24 22:48:22 +00:00
|
|
|
| Create new merge request | | | ✓ | ✓ | ✓ |
|
|
|
|
| Create new branches | | | ✓ | ✓ | ✓ |
|
|
|
|
| Push to non-protected branches | | | ✓ | ✓ | ✓ |
|
2014-11-26 20:19:19 +00:00
|
|
|
| Force push to non-protected branches | | | ✓ | ✓ | ✓ |
|
2014-04-24 22:48:22 +00:00
|
|
|
| Remove non-protected branches | | | ✓ | ✓ | ✓ |
|
|
|
|
| Add tags | | | ✓ | ✓ | ✓ |
|
|
|
|
| Write a wiki | | | ✓ | ✓ | ✓ |
|
2014-07-09 18:46:37 +00:00
|
|
|
| Create new milestones | | | | ✓ | ✓ |
|
2014-04-24 22:48:22 +00:00
|
|
|
| Add new team members | | | | ✓ | ✓ |
|
|
|
|
| Push to protected branches | | | | ✓ | ✓ |
|
2014-09-19 07:58:22 +00:00
|
|
|
| Enable/disable branch protection | | | | ✓ | ✓ |
|
2014-12-29 09:44:08 +00:00
|
|
|
| Turn on/off prot. branch push for devs| | | | ✓ | ✓ |
|
2014-04-24 22:48:22 +00:00
|
|
|
| Rewrite/remove git tags | | | | ✓ | ✓ |
|
|
|
|
| Edit project | | | | ✓ | ✓ |
|
2014-09-19 07:58:22 +00:00
|
|
|
| Add deploy keys to project | | | | ✓ | ✓ |
|
|
|
|
| Configure project hooks | | | | ✓ | ✓ |
|
2014-04-24 22:48:22 +00:00
|
|
|
| Switch visibility level | | | | | ✓ |
|
|
|
|
| Transfer project to another namespace | | | | | ✓ |
|
|
|
|
| Remove project | | | | | ✓ |
|
2014-11-26 20:19:19 +00:00
|
|
|
| Force push to protected branches | | | | | |
|
2014-12-29 10:29:06 +00:00
|
|
|
| Remove protected branches | | | | | |
|
2014-04-24 22:48:22 +00:00
|
|
|
|
|
|
|
## Group
|
|
|
|
|
2015-03-25 10:18:44 +00:00
|
|
|
In order for a group to appear as public and be browsable, it must contain at
|
|
|
|
least one public project.
|
|
|
|
|
|
|
|
Any user can remove themselves from a group, unless they are the last Owner of the group.
|
|
|
|
|
2014-04-24 22:48:22 +00:00
|
|
|
| Action | Guest | Reporter | Developer | Master | Owner |
|
|
|
|
|-------------------------|-------|----------|-----------|--------|-------|
|
|
|
|
| Browse group | ✓ | ✓ | ✓ | ✓ | ✓ |
|
|
|
|
| Edit group | | | | | ✓ |
|
|
|
|
| Create project in group | | | | ✓ | ✓ |
|
|
|
|
| Manage group members | | | | | ✓ |
|
|
|
|
| Remove group | | | | | ✓ |
|