Globally hide/disable project menu items that are enabled by default


First of all, forgive me if this question has already been asked, but I was not able to find a relative answer so far.

We recently deployed a Self-Managed GitLab v16.9 and have the following question:

When I create a new project, there are several options inside the project-menu, e.g.: “Issues”, “Secure”, “Deploy”, “Operate”, “Monitor” that are not needed for our use case.
I was able to hide “Issues” and “GitLab CI/CD” globally, by updating the gitlab.yaml, but for the rest of these options, I have only managed to disable them only for each project separately, via the project Settings.

Is there a way to globally disable these as well?

Thank you in advance

In /etc/gitlab/gitlab.rb these options are available:

### Default project feature settings
# gitlab_rails['gitlab_default_projects_features_issues'] = true
# gitlab_rails['gitlab_default_projects_features_merge_requests'] = true
# gitlab_rails['gitlab_default_projects_features_wiki'] = true
# gitlab_rails['gitlab_default_projects_features_snippets'] = true
# gitlab_rails['gitlab_default_projects_features_builds'] = true
# gitlab_rails['gitlab_default_projects_features_container_registry'] = true

You say you changed gitlab.yaml, so not entirely sure if you mean gitlab.rb or you edited a different file. If so, then you should be making changes to gitlab.rb, not to any other files.

Hello iwalker,

Thank you for your response.
The file you change depends on the installation type (see here: GitLab CI/CD instance configuration | GitLab) so gitlab.yaml and gitlab.rb contain pretty much the same things.

I was able to disable “Issues” and “Build” by updating this file, but I don’t think that I can disable “Secure”, “Deploy”, “Operate” or “Monitor” globally in the same way.