Skip to content

Place "Hide dismissed vulnerabilities" toggle behind a feature flag

What does this MR do?

The MR that added the Hide dismissed vulnerabilities toggle was merged before the backend MR could be completed. The present MR puts the toggle behind the hide_dismissed_vulnerabilities feature flag to prevent it to be released in an incomplete state.

How to test?

  • Start a Rails console from the gitlab/ directory:
rails console
  • Enable the feature flag:
Feature.enable(:hide_dismissed_vulnerabilities)
  • Visit a group or project security dashboard

Screenshots

Feature flag disabled Feature flag enabled
disabled enabled

Does this MR meet the acceptance criteria?

Conformity

Performance and Testing

Close #31865 (closed)

Edited by Paul Gascou-Vaillancourt

Merge request reports