Home > Development Tools > git > body text

How to set up super user in gitlab

PHPz
Release: 2023-04-06 13:57:50
Original
1535 people have browsed it

Gitlab is a powerful code hosting platform that can provide your team with a safe, stable, and efficient code hosting environment. In the process of using Gitlab, we usually need a super user with higher permissions to manage the entire Gitlab environment. This article will introduce you to how to set up Gitlab super user.

  1. Create an administrator account

First, you need to create an administrator account on Gitlab. On Gitlab, the administrator account has the highest permissions and can configure all Gitlab settings and functions. To create an administrator account, please follow the steps below:

1.1 Open Gitlab, click the user icon in the upper right corner, and select "Admin Area" in the drop-down menu.

1.2 Find “Users” in the Admin Area, and then click “New User”.

1.3 In the “New User” page, fill in the user name, email address, password and other information of the administrator account.

1.4 After confirming the settings, click the “Create User” button, and the administrator account will be created successfully.

  1. Set the administrator account as a super user

On Gitlab, the administrator account is not necessarily a super user. To set the administrator account as a super user, you need to follow the following steps:

2.1 Log in to the administrator account and open the Gitlab management area (Admin Area).

2.2 Find the "Settings" option in the Sidebar (sidebar), and then click "General".

2.3 Scroll the page and find the "Account and Limitations" option, and then set "Account Limits - Additional permissions for admin users" to "yes".

2.4 Click the "Save Changes" button to save the settings, and the administrator account will become a super user.

  1. Test Super User Permissions

After completing the above steps, you need to test whether the super user settings take effect. Please follow the steps below:

3.1 Log in to Gitlab as a non-admin user.

3.2 Attempt to create or modify a project or group.

3.3 If Gitlab prompts that you do not have permission to perform this operation, please log in to the administrator account again and check whether the "Account Limits - Additional permissions for admin users" option on the "Settings" page is set to "yes".

Setting up a super user in Gitlab is very simple, just follow the above three steps. The super user has the highest authority and can easily manage the entire Gitlab environment.

The above is the detailed content of How to set up super user in gitlab. For more information, please follow other related articles on the PHP Chinese website!

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!