Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Gitlab: how to allow user to create project under a group namespace

Tags:

gitlab

Some users of the gitlab server are registered as developer under a given group. I would like these users to be able to create repositories under the namespace of the group. As currently set, the users do not even have the "Namespace" field under the "Project path" field when creating new projects. Is this possible ?

like image 374
Vince Avatar asked Sep 01 '15 13:09

Vince


People also ask

How do I create a project under a group in GitLab?

You can create a group by going to the 'Groups' tab of the GitLab dashboard and clicking the 'New group' button. Next, enter the name (required) and the optional description and group avatar. When your group has been created you are presented with the group dashboard feed, which will be empty.

Can a developer create repository in GitLab?

Developer users can create repositories in group namespace but not push to it (#31602) · Issues · GitLab.org / GitLab · GitLab.


1 Answers

1st option you have is to change by yourself the namespace after the developer created the project:

project -> settings/gear icon -> edit project -> transfer project

2nd possible thing is to edit project_security_spec.rb or ability.rb (i'm not familiar with that good enough to explain more...)

like image 133
MTZ4 Avatar answered Sep 17 '22 18:09

MTZ4