Today I learned how to mass-disable unused/unwanted project features instance wide using the
gitlab-rails console command. In my specific case, I wanted to disable the useless “Security & Compliance” section, that is nothing more than an up-selling page in every project. Using the command below, I was able to disable this feature in all existing projects.
Project.all.each do |p|
I came across this while revisiting some automatically created repositories on SI-GitLab. This helped to get rid of a lot of annoyance. However a question that still remains open is whether it’s is possible to adjust the default enabled project features and if so, how to do that.