block user from creating group and project

Dear good afternoon
I have gitlab 11.7 installed in my environment authenticating in Active Directory, however, when users log in they have the power to create projects and groups, how do I lock this automatically?

To avoid new users to be able to create groups make sure the value of the following option is set to false:

gitlab_rails['gitlab_default_can_create_group'] = false

in the GitLab configuration file (/etc/gitlab/gitlab.rb for an Omnibus installation).

For an existing user you need to go to its profile page: <gitlab_url>/admin/users/<username>/edit and untick the Can create group option.
You need to repeat the operation for each user.


To avoid new users to be able to create projects make sure the value of the option Default projects limit in Admin Area > Settings > Account and limit is set to 0. You can directly access the page with this URL: <gitlab_url>/admin/application_settings.

For an existing user you need to go to its profile page: <gitlab_url>/admin/users/<username>/edit and set the Projects limit option to 0.
You need to repeat the operation for each user.


All GUI operations have to be performed logged in with an administrator account.

I hope I helped you. :wink:

Thanks for the answer.

1 Like