-
Notifications
You must be signed in to change notification settings - Fork 10
Self‐Hosted GitLab
(Example: LiveReviewBot or LiveReview1914)
If you're the admin, one way to create a user is via the Admin area (see steps below). Other methods are also described in the GitLab Docs.
Prerequisites:
- You must be an administrator for the instance.
Steps:
- 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. 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 notice they don’t yet have access to any groups/projects:
Manually go to the appropriate projects/groups and add the new user as a member:
Assign at least Developer or Maintainer permissions:
You can then confirm their access in the Admin area:
The next step is to generate a PAT for the new user so LiveReview can act on their behalf.
If you’re an admin, one option is to impersonate the new user:
If impersonation is not possible, simply log in as the new user with their email and password.
Navigate to:
User Profile Icon -> Preferences -> Access Tokens -> Add New Token
Assign the required permissions and create a new PAT:
Copy the PAT to a secure location for later use.
Log in to LiveReview and go to:
Git Providers -> Self-Hosted GitLab
Fill in the details:
- Provide a friendly name.
- Enter the PAT.
- Add the instance URL.
- Submit.
LiveReview should fetch the user’s profile (avatar) and some basic details, like this:
Finally, click Confirm and Save to add the connector: