Clean up FF scan_result_any_merge_request
What does this MR do and why?
This MR removes feature flag scan_result_any_merge_request
which has been enabled by default in %16.7 in Enable scan_result_any_merge_request by default (!136298 - merged).
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
How to set up and validate locally
- In rails console, make sure to disable the feature flag in case it was enabled before
Feature.disable(:scan_result_any_merge_request)
- Visit Secure -> Policies and create a new Scan Result Policy
- Ensure that "Any merge request" rule type can be selected and there are no errors in the console
- Save a policy
- Edit the policy
- Ensure that "Any merge request" rule type is pre-selected and there are no errors
- Try also various combinations with the related feature flags:
scan_result_policies_block_force_push
scan_result_policies_block_unprotecting_branches
Related to #432127 (closed)
Edited by Martin Čavoj