Create a Group of Users

How can I create an arbitrary group of users in GitLab?

For example, say we have 100 users overall, but we wish to have only a subset of those users assigned as codeowners for MR purposes, how can we group them together so that we don’t have to change every single repository when someone leaves/joins the team?

All the documentation I have found suggests that the only ‘Group’ feature is related to Projects (here), but I’m hoping that I’m just missing something, as this is a vert trivial thing todo in e.g. BitBucket or GitHub.

Versions

  • Self-managed
  • GitLab.com SaaS
  • Dedicated

Versions

Hi,

Unfortunately, there is no user grouping (separate from projects) in GitLab :frowning:

Groups are related to projects, but also to users: you can add users to the group and give them certain permissions (which then apply to projects in that group and subgroups). You can also then add a group to another group with another set of permissions (which then apply to that group and subgroups).

This works fine as long as you have simple, clear Teams (so you can make 1 group per team) and then have multiple projects inside a team. But any more complex organization I find a bit hard to manage. I still hope GitLab implements a possibility for creating separate groups for users and their roles/permissions.

You could try making an empty group, and just add your users there (no projects). And then in MRs, normally you can select a group for approvals - there you should be able to select your group of users.