Members of groups do not appear in hilight completion

Summary

Members with some right to a project through group do not appear in completion

Steps to reproduce

Create:

  • GroupA
    • Add userA as owner
  • GroupB
    • Add GroupA as maintainer
  • Project1 in GroupB

Then try to open an issue in Project1, type @ to start the completion. Only group appears, no way to hl directly userA.

Example Project

https://gitlab.com/gitlabbug-projects/testproject/-/issues/new

What is the current bug behavior?

Only groups can be completed, no user,

What is the expected correct behavior?

Though it might seems relevant to some usage, we need users to be able to be part of completion. Writing their name directly works, but we definitely would see them in completion.