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
About the Author
About the Reviewers

Creating a group

In this recipe, we will take a look at creating a group. Groups can be used to create a namespace where you put your projects. You can also give people permissions on the group level. When you create a new project, all the group members will automatically have access to that project.

How to do it…

Let's add a group by performing the following steps:

  1. Log in as admin.

  2. Go to the Admin area section.

  3. Click on New Group.

  4. Enter a group name and an optional group description and click on Create Group.

  5. You will be redirected to the new group page.

  6. To add a new user, you have to enter their username in the search for a user box.

  7. In the permission drop-down box, select Developer.

  8. Click on Add users into group.

  9. You now see two users in the Group Members box.

You have now created a group and added a member to the group.

How it works…

Groups are GitLab's way of introducing namespacing for your projects. So, if your project has multiple repositories, you can create a group for this project and add all...