Adding and removing users from a project
You can create users in a GitLab instance and invite them to your project. Thus you will grant your team access to the repository.
Use different email addresses for each account. They should not be linked to the primary account created together with the GitLab instance.
Creating a user
-
Open your GitLab instance.
-
In the left-hand menu, select Search or go to → Admin Area.
-
In the menu on the left, go to Overview → Users section.
-
Click New user.
-
In the window that opens, fill out the fields:
- Name: User name
- Username: User login
- Email: User email address
If you create a service account for configuring approval rules, specify Administrator in the Access level field.
Optionally, complete the Profile and Admin notes sections. Leave the other fields unchanged.
-
Click Create user.
A new user will be created.
-
To set a password for the user, click Edit on the user's page.
-
In the Password section, enter and confirm the user's password.
-
Click Save changes.
Adding a user to a project
-
Open your project in GitLab.
-
In the left-hand menu, navigate to Manage → Members.
-
Click Invite members.
-
In the window that opens, enter the user's login or email address and select a project role
for the user.Note
If adding a user to configure approval rules, assign the
Maintainer
orOwner
role to them. Users with other roles will not have sufficient permissions to configure approval rules. -
Click Invite.
The user will receive an email with a link to the project and a confirmation of being added to the project.