Fix Security Configuration enable via MR buttons
This makes sure that the "Configure via Merge Request" button is displayed for Secret Detection in the [new][1] Security Configuration page for all tiers. The button was not working in FOSS since the client-side mutation was only defined in EE, so that was moved to FOSS. The backend implementation of the mutation is already in FOSS. This also ensures that a similar button is displayed for Dependency Scanning in Ultimate projects when the sec_dependency_scanning_ui_enable feature flag is enabled. Addresses https://gitlab.com/gitlab-org/gitlab/-/issues/326005 and https://gitlab.com/gitlab-org/gitlab/-/issues/328426. [1]: https://gitlab.com/gitlab-org/gitlab/-/issues/326926
显示
- app/assets/javascripts/security_configuration/components/constants.js 27 个添加, 1 个删除...avascripts/security_configuration/components/constants.js
- app/assets/javascripts/security_configuration/components/feature_card.vue 1 个添加, 2 个删除...cripts/security_configuration/components/feature_card.vue
- app/assets/javascripts/security_configuration/graphql/configure_secret_detection.mutation.graphql 0 个添加, 0 个删除...ation/graphql/configure_secret_detection.mutation.graphql
- app/assets/javascripts/vue_shared/security_configuration/components/manage_via_mr.vue 27 个添加, 5 个删除...hared/security_configuration/components/manage_via_mr.vue
- ee/app/assets/javascripts/security_configuration/components/constants.js 1 个添加, 16 个删除...avascripts/security_configuration/components/constants.js
- spec/frontend/security_configuration/components/feature_card_spec.js 14 个添加, 11 个删除...nd/security_configuration/components/feature_card_spec.js
- spec/frontend/vue_shared/security_reports/components/manage_via_mr_spec.js 24 个添加, 0 个删除..._shared/security_reports/components/manage_via_mr_spec.js
加载中
想要评论请 注册 或 登录