Change default of `restrict_user_defined_variables` to `true` behind FF
Refactor namespace variables default role migration to enum Adjust default role reference from namespace to namespace_settings Validate default pipeline variabe role on namespace settings Restore nil allownace for the role on namespace Move FF to namespace_settings and use no_one_allowed as default role Fix typo in index.md Adjust index.md docs Restore qa tests Leave only enum validation on namespace settings Define DEVELOPER_ROLE in the transaction Replace after_initialize with before_create Move Chain Associations to 4th line Remove restrict_user_defined_variables update to true in tests Fallback to default if no namespace settings defined, address tests accordingly Changelog: changed
显示
- app/models/namespace.rb 8 个添加, 0 个删除app/models/namespace.rb
- app/models/namespace_setting.rb 25 个添加, 0 个删除app/models/namespace_setting.rb
- app/models/project_ci_cd_setting.rb 13 个添加, 6 个删除app/models/project_ci_cd_setting.rb
- app/services/ci/create_pipeline_service.rb 1 个添加, 1 个删除app/services/ci/create_pipeline_service.rb
- config/feature_flags/development/change_namespace_default_role_for_pipeline_variables.yml 8 个添加, 0 个删除.../change_namespace_default_role_for_pipeline_variables.yml
- db/migrate/20241112055215_add_pipeline_variables_default_role_to_namespace_settings.rb 12 个添加, 0 个删除..._pipeline_variables_default_role_to_namespace_settings.rb
- db/schema_migrations/20241112055215 1 个添加, 0 个删除db/schema_migrations/20241112055215
- db/structure.sql 1 个添加, 0 个删除db/structure.sql
- doc/ci/variables/index.md 4 个添加, 6 个删除doc/ci/variables/index.md
- ee/spec/graphql/mutations/dast_site_validations/create_spec.rb 1 个添加, 0 个删除...ec/graphql/mutations/dast_site_validations/create_spec.rb
- ee/spec/lib/namespaces/namespace_setting_changes_auditor_spec.rb 2 个添加, 1 个删除.../lib/namespaces/namespace_setting_changes_auditor_spec.rb
- ee/spec/requests/api/ci/triggers_spec.rb 5 个添加, 1 个删除ee/spec/requests/api/ci/triggers_spec.rb
- ee/spec/requests/api/graphql/mutations/dast_site_validations/create_spec.rb 5 个添加, 1 个删除...pi/graphql/mutations/dast_site_validations/create_spec.rb
- ee/spec/services/app_sec/dast/site_validations/find_or_create_service_spec.rb 5 个添加, 1 个删除..._sec/dast/site_validations/find_or_create_service_spec.rb
- ee/spec/services/app_sec/dast/site_validations/runner_service_spec.rb 5 个添加, 1 个删除...ices/app_sec/dast/site_validations/runner_service_spec.rb
- ee/spec/services/ci/create_pipeline_service/pipeline_execution_policy_spec.rb 1 个添加, 0 个删除...create_pipeline_service/pipeline_execution_policy_spec.rb
- ee/spec/services/ci/pipeline_trigger_service_spec.rb 4 个添加, 0 个删除ee/spec/services/ci/pipeline_trigger_service_spec.rb
- ee/spec/services/ci/process_pipeline_service_spec.rb 2 个添加, 1 个删除ee/spec/services/ci/process_pipeline_service_spec.rb
- qa/qa/resource/project.rb 12 个添加, 0 个删除qa/qa/resource/project.rb
- qa/qa/specs/features/browser_ui/4_verify/ci_variable/custom_variable_spec.rb 2 个添加, 0 个删除...s/browser_ui/4_verify/ci_variable/custom_variable_spec.rb
加载中
想要评论请 注册 或 登录