Fix bug when viewing issue anonymously
What does this MR do and why?
Fix permission check in linked items resolver to account for anonymous users.
This is a follow-up to !190860 (merged)
How to set up and validate locally
- Create an issue and relate it with an issue in another project
- View the issue anonymously
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by Heinrich Lee Yu