Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2024-01-19 18:10:53 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2024-01-19 18:10:53 +0300
commit8f3a9dbb94b5a9ae4570a22bbc2a75e7572407c8 (patch)
tree0d7e5d6d5747b57a93df1181bd86a7a127c16934 /app/services/namespace_settings/update_service.rb
parent7344cec8c24f1599086498ba19096cf9918ee168 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/services/namespace_settings/update_service.rb')
-rw-r--r--app/services/namespace_settings/update_service.rb4
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?