`can_create_group` default setting does not work


I have used Gitlab 14.1.2 version. I have changed my config file as gitlab_rails[‘gitlab_default_can_create_group’] = false in gitlab.rb but it does not work. New users logged in via ldap can still create groups. Do you have any solution about this problem?

Thank you

I found the solution of this problem in stackoverflow https://stackoverflow.com/questions/33239048/how-to-prevent-group-creation-in-gitlab. After added the gitlab_rails[‘gitlab_default_can_create_group’] = false then you’ll need to execute sudo gitlab-ctl reconfigure and sudo gitlab-ctl restart to apply the changes.