How to give user level access to private GitLab repository?
2021 - Answer
- Click on the project that you want to share.
- Click on the Project Information tab. (first icon)
- Click on the Members subtab.
Update 2021: This answer is out of date, scroll down for the 2021 info.
UPDATE: Gitlab has changed a bit in 2 years, so here is the updated flow.
- Click on the project that you want to share.
- Click on the Settings tab (the gear icon on the left).
- Click on the Members subtab.
- Add member, and find the user if it exists on GitLab, or insert email to send an invitation.
- Select access level for the user, the possible levels are:
- Guest, can see wiki pages, view and create issues.
- Reporter, can do what the guest can plus view the code.
- Developer, normal developer access, can develop, but cannot push or merge to procted branches by default.
- Maintainer, can do everything except managing the project.
- For more info about the user access level refer to gitlab official help.
- (Optional) Set expiration date of the user access.
Old instructions:
- Click on the project that you want to share.
- Click on members.
- Add member, and find the user if it exists on GitLab, or insert email to send an invitation.
2021 Updated Answer
- Click on the project's name which you want to share.
- On the left side, there is an option Project Information (hover on that).
- Open Members and Project Members page will open.
- Under invite member's Tab there is an option "GitLab member or Email address"
- Enter the username/email of the person you want to add.
- Choose a role from (Guest, Maintainer, Developer, Reporter)
- Add Expiry date when you want to take back the role which you have assigned to this member. (Optional)
- Click Invite.
2020 Answer:
- Open Project (Click on project's name to open it)
- On the left side bar the second last option is Members, open it.
- Under invite member's Tab there is an option "GitLab member or Email address"
- Enter the username/email of the person you want to add.
- Choose a role from (Guest, Maintainer, Developer, Reporter)
- Add Expiry date when you want to take back the role which you have assigned to this member. (Optional)
- Click Invite.
2019 Answer:
- Open Project (Click on project's name to open it)
- On the left side bar the last option is Settings open it.
- Click on members
- Under invite member's Tab there is an option "GitLab member or Email address" Enter the username of the person you want to add.
- Choose a role from (Guest, Maintainer, Developer, Reporter)
- Add to project.