Skip to content
Snippets Groups Projects

Add param filtering to avoid error while saving project settings

Merged Gosia Ksionek requested to merge mk-patch-project-settings-17-4 into 17-4-stable-ee
All threads resolved!
2 files
+ 44
18
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -98,7 +98,6 @@ def project_setting_attributes
attributes = %i[
prevent_merge_without_jira_issue
cve_id_request_enabled
duo_features_enabled
product_analytics_data_collector_host
cube_api_base_url
cube_api_key
@@ -113,6 +112,10 @@ def project_setting_attributes
attributes << :spp_repository_pipeline_access
end
unless project&.project_setting&.duo_features_enabled_locked?
attributes << :duo_features_enabled
end
super + attributes
end
Loading