Skip to content

Default project feature settings are not applied for new projects

Summary

Since the update to 8.12 the default project settings inside gitlab.rb are no longer applied (using official gitlab-omnibus docker image) .

Steps to reproduce

  1. Set default project settings inside gitlab.rb
gitlab_rails['gitlab_default_projects_features_issues'] = false
gitlab_rails['gitlab_default_projects_features_merge_requests'] = false
gitlab_rails['gitlab_default_projects_features_wiki'] = false
gitlab_rails['gitlab_default_projects_features_builds'] = false
  1. Restart GitLab or gitlab-ctl reconfigure.
  2. Create a new project.

Expected behavior

Project features should be disabled: default_project_settings_expected

Actual behavior

Project features are visible for team members: default_project_settings_actual

Output of checks

Results of GitLab application Check

GitLab_application_check.txt

Results of GitLab environment info

System information
System:		
Current User:	git
Using RVM:	no
Ruby Version:	2.3.1p112
Gem Version:	2.6.6
Bundler Version:1.13.1
Rake Version:	10.5.0
Sidekiq Version:4.1.4

GitLab information
Version:	8.12.6
Revision:	fa20b51
Directory:	/opt/gitlab/embedded/service/gitlab-rails
DB Adapter:	postgresql
URL:		https://git.example.org
HTTP Clone URL:	https://git.example.org/some-group/some-project.git
SSH Clone URL:	git@git.example.org:some-group/some-project.git
Using LDAP:	yes
Using Omniauth:	no

GitLab Shell
Version:	3.6.1
Repository storage paths:
- default: 	/var/opt/gitlab/git-data/repositories
Hooks:		/opt/gitlab/embedded/service/gitlab-shell/hooks/
Git:		/opt/gitlab/embedded/bin/git