Use current user instead of [at]user
What does this MR do and why?
After enabling :vulnerability_report_owasp_2021 for my username on .com, I realised that the feature is still turned off:
The statement to push the feature flag is the following:
push_frontend_feature_flag(:vulnerability_report_owasp_2021, @user)
Apparently, we need to use current_user instead of @user.
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.
Screenshots or screen recordings
How to set up and validate locally
- Enable
:vulnerability_report_owasp_2021feature flag on a user level - Visit
/-/security/vulnerabilities(make sure to have some vulnerabilities) - Check that the Group By option has
OWASP 2021
Related to #477275 (closed)
Edited by Savas Vedova

