Preload user project access in group API
What does this MR do and why?
This fixes an N+1 in the /group/:id and /group/:id/projects endpoints.
This expands the fix in !65602 (merged) to apply to these group API endpoints.
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.
Related to #211504
Edited by Heinrich Lee Yu