Allow non-admins to create a group with the API
If you want to create a group in GitLab, you can through the UI.
If you want to do that through the API, you have to be an admin.
This is due to https://gitlab.com/gitlab-org/gitlab-ce/blob/a3f645ef51ec12ce93934b4ddb11313613d8c451/lib/api/groups.rb#L44
This should be relaxed to allow the same users as in the UI.
We’re accepting merge requests for this.