Fix issues finder when filtering by project
What does this MR do and why?
When filtering by a project that the user does not have access to, we should not return unrelated group-level work items.
Group-level work items are in the early stages of development and behind a feature flag so this is not a vulnerability. It also results in the API returning a 500 as seen in #421244 (closed)
Related to #421244 (closed)
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 Heinrich Lee Yu