Book Image

GitLab Cookbook

By : Jeroen van Baarsen
Book Image

GitLab Cookbook

By: Jeroen van Baarsen

Overview of this book

Table of Contents (16 chapters)
GitLab Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Removing a user


At some point in the lifetime of your GitLab instance, you need to remove a user. GitLab offers two ways of doing this: one is completely removing a user from the system and the other one is just blocking the user so that they can't log in anymore.

Getting ready

To complete this recipe, you need to have at least two users: a user who has administrator privileges and a user for whom we can block access.

How to do it…

In the following steps, we will block a user from your GitLab server:

  1. Log in as a user with administrator permissions.

  2. Go to the Admin area section.

  3. Click on Users.

  4. Click on Block for the user that you want to block.

  5. You need to confirm that you want to block this user.

  6. After you have blocked the user, it will be removed from the list and will be moved to the Blocked users list.

You have successfully blocked the user.

How it works…

When you want to remove a user from your system, you have to make a decision: does this user have a lot of projects and issues created or not...