Fix url link in vulnerabilities avatar link
Related to #355866 (closed)
What does this MR do and why?
Ensure that <user_avatar_link/>
works effectively GlAvatar
.
Avatar and Link render as expected. Incorrect user attribute fixed so that href now also works as expected.
Screenshots or screen recordings
Chrome
ff off | ff on |
---|---|
Chromium, Safari, Edge
ff off | ff on |
---|---|
How to set up and validate locally
-
navigate to a project with vulnerabilities in Vulnerability Report
-
view security/vulnerability_report
-
select any vulnerability by clicking on description
-
change status to confirmed if it is not the current status
-
component rendered in vulnerability header
-
Enable new GIAvatar
Feature.enable(:gl_avatar_for_all_user_avatars)
-
ensure component still renders correctly
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.
RE Testing: The wrong attribute in the user object was being passed, no effective way to test this as data would have to be faked for the test.