Reintroduced vulnerability_management_survey for survey Banner
What does this MR do and why?
Issue: #349767 (closed)
This MR fixes a bug that was introduced with !77583 (merged)
While refactoring the vulnerability Management Survey to use the sharedSurvey Component the check for the vulnerability_management_survey
was mistakenly removed. This MR reintroduces the check.
Screenshots or screen recordings
vulnerability_management_survey = true
before | after |
---|---|
vulnerability_management_survey = false
before | after |
---|---|
These are strongly recommended to assist reviewers and reduce the time to merge your change.
How to set up and validate locally
rails c
Feature.enable(:vulnerability_management_survey)
- go to http://gitlab.localdev:3000/
GROUP/
PROJECT/-/security/vulnerability_report/ - you should see the banner
rails c
Feature.disable(:vulnerability_management_survey)
- go to http://gitlab.localdev:3000/
GROUP/
PROJECT/-/security/vulnerability_report/ - you should not see the banner
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Jannik Lehmann