-
Notifications
You must be signed in to change notification settings - Fork 10
Self‐Hosted GitLab
If you're the admin - one way to create a user is via the Admin area (see below for steps). There are other methods to do it in the Gitlab Docs as well.
Prerequisites:
- You must be an administrator for the instance.
To create a user:
- On the left sidebar, at the bottom, select Admin.
- Select Overview > Users.
- Select New user.
- In the Account section, enter the required account information.
- Optional. In the Access section, configure any project limits or user type settings.
- Select Create user.
GitLab sends an email to the user with a sign-in link, and the user must create a password when they first sign in. You can also directly set a password for the user.
If you created a regular user - you may see that they don't have any group/project access:
You can manually goto the appropriate projects/groups and add the new user as a member:
And give them at least developer/maintainer permission:
Now in admin area - you can see the access:
The next step is to acquire a PAT token for the new user (so that LiveReview can act on this new user's behalf)
One option - if you're an admin is to impersonate as the new user:
If you can't do that - just login as the new user with email/password.
Then Goto: User profile icon -> Preferences -> Access Tokens -> Add New Token
Then give it the following permissions and create a new PAT token:
Copy the PAT token to memory.
Now you can login to LiveReview and goto Git Providers -> Self-Hosted Gitlab
Fill in the details. Give any friendly name, fill in the PAT, and provide the instance URL and submit
It should fetch the user's profile (avatar) and some basic details - like this:
Just hit Confirm and Save to get the connector listing: