Skip to content

Inherit codeowners from groups added as members.

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Problem to solve

The current thinking on group access to repos is that it should be fine grained and explicit. Thus, with regard to codeowners, there is no inheritance. As in, after a group is added to another as a member, it does not inherit them as codeowner.

Intended users

Developers, GitLab administrators

Further details

We have multiple groups (as teams) and one parent group called "Engineering" and underneath it, we maintain our repos for services and jobs. Inviting a group as a member is the only way (for the present) for codeowners to see the group. Since there are multiple teams and services/jobs ownership gets migrated every once in a while, someone has to manually add all the group to the repo (as a member). It would save a lot of manual work if all the repos inside a parent group automatically inherit other groups that are added as a member to it.

What does success look like?

Adding a group as a member to another (parent) could reflect all the repos underneath it as a codeowner after adding it to the CODEOWNERS file.

Edited by 🤖 GitLab Bot 🤖