[go: up one dir, main page]

Skip to content

Add group setting to allow or disallow "Push to create project"

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

Problem to solve

The "push to create project" feature allows users to create new repositories in all the namespaces where they have write access.

It also creates a repository when a user makes a typo or even when a user doesn't notice that the repository didn't exist in the first place.

When the user doesn't have enough permissions on the namespace (I think you need to be Owner), they can't change the visibility of the project after the fact. They can't remove the project either.

This creates a small, but irritiating, support burden on the Debian GitLab instance, where most users are Maintainers of a shared namespace (but only the Administrator user is an Owner of this namespace, to prevent accidental or malicious repository deletions).

It would be nice to have a knob to be able to disable the "Push to create project" feature on select groups.

Further details

You could also make the case for allowing to set the default visibility of "Push to create project"-created projects, but that wouldn't help in the "I made a mistake and want to remove the repo" case.

Proposal

Add a group setting to allow or disallow the "Push to create project" feature.

What does success look like, and how can we measure that?

Success looks like a checkbox in the Permissions tab of the Group settings, titled "Allow push to create project" or somesuch :-)

Links / references

https://salsa.debian.org/debian/ is the Debian instance mega-group.

https://salsa.debian.org/salsa/support/issues?scope=all&utf8=%E2%9C%93&state=closed&search=visibility shows some of the "visibility" issues submitted in public (there were a few that were handled on the fly on IRC, or in other groups).

Edited by 🤖 GitLab Bot 🤖