Creating and adding users to 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 a unique email address for each account. Make sure it is not 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 left-hand menu, navigate to Overview → Users.
-
Click New user.
-
In the window that opens, fill out these fields:
- Name: Name of the user.
- Username: User login.
- Email: User email address.
If creating a service account to set up approval rules, specify Administrator in the Access level field.
Optionally, fill out the Profile and Admin notes sections. Leave the other fields unchanged.
-
Click Create user.
This will create a new user.
-
To set a password for the user, click Edit on the user page.
-
In the Password section, enter and confirm a user 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 login or email address and select a project role
for the user.Note
If adding a user for setting up approval rules, assign them the
MaintainerorOwnerrole. Users with other roles lack the permissions required to set up approval rules. -
Click Invite.
The user will receive an email with a project link and confirmation of being added to the project.