diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-05-07 09:10:43 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-05-07 09:10:43 +0300 |
commit | a158bebe03b366b6463af181b9ee6f6c2b3850a3 (patch) | |
tree | ae65950cccfa3d99292a5c083df0cf786c74dd2b /app/services/namespaces | |
parent | 170765911848f0ad68e0f26f6413dd770d36f364 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/services/namespaces')
-rw-r--r-- | app/services/namespaces/package_settings/update_service.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app/services/namespaces/package_settings/update_service.rb b/app/services/namespaces/package_settings/update_service.rb index 0964963647a..cbadbe5c907 100644 --- a/app/services/namespaces/package_settings/update_service.rb +++ b/app/services/namespaces/package_settings/update_service.rb @@ -5,7 +5,10 @@ module Namespaces class UpdateService < BaseContainerService include Gitlab::Utils::StrongMemoize - ALLOWED_ATTRIBUTES = %i[maven_duplicates_allowed maven_duplicate_exception_regex].freeze + ALLOWED_ATTRIBUTES = %i[maven_duplicates_allowed + maven_duplicate_exception_regex + generic_duplicates_allowed + generic_duplicate_exception_regex].freeze def execute return ServiceResponse.error(message: 'Access Denied', http_status: 403) unless allowed? |