A
A
Andrey Strelkov2019-01-09 10:51:57
GitLab
Andrey Strelkov, 2019-01-09 10:51:57

How can I only allow fork projects in Gitlab, and not create new ones?

Good afternoon, I use Gitlab CE and I want to create a certain concept of project templates (with already created branches, standard files, etc.), so that developers do not create a new project each time, and set up branches, but simply fork (more precisely, the idea is even so that developers, in principle, could not create their own projects, but worked only according to certain templates, so to speak)
I was looking for how to prohibit creating projects altogether, I googled that in the settings to make the maximum number of projects for users - 0, but unfortunately this is also distributed and forks. Those. the user, yes, can no longer create new projects, but he can’t fork now either :(
How can I solve my problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Shitskov, 2019-01-09
@Zarom

  1. Forbid developers to do what is possible and want to be banned
  2. Write a simple web-muzzle that, through the Gitlab API, will create forks of the project and perform other "forbidden" operations

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question