Allow creation of subgroups with gitlab_default_can_create_group set to false
Description
Setting gitlab_rails['gitlab_default_can_create_group'] = false
disables the ability for new users to create groups and subgroups.
Proposal
Add a new configuration option to allow/disallow users to create subgroups.
Use case
Pre-req:
- LDAP group sync is enabled
-
gitlab_default_can_create_group
is set tofalse
- Admin creates new group and links it to an LDAP group
- Adds new owner/master to the group
- Owner/master should be able to create new subgroups
- Owner/master is unable to create new subgroups due to the setting
gitlab_default_can_create_group
Basically the user wants to allow the creation of subgroups but not parent groups.