diff options
Diffstat (limited to 'app/services/namespace_settings/update_service.rb')
-rw-r--r-- | app/services/namespace_settings/update_service.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/services/namespace_settings/update_service.rb b/app/services/namespace_settings/update_service.rb index 92766bc0267..f6f59738d44 100644 --- a/app/services/namespace_settings/update_service.rb +++ b/app/services/namespace_settings/update_service.rb @@ -31,6 +31,10 @@ module NamespaceSettings param_key: :default_branch_protection_defaults, user_policy: :update_default_branch_protection ) + validate_settings_param_for_root_group( + param_key: :enabled_git_access_protocol, + user_policy: :update_git_access_protocol + ) handle_default_branch_protection unless settings_params[:default_branch_protection].blank? |