Project does not show up in search result unless group is specified.
Summary
When non-team user searching for an internal project, it doesn't show up in the search result. After specifying the group of that project, project shows up in search result.
Steps to reproduce
-
Perform a global search for a project by a user who is not part of the team that owns the project. Project has INTERNAL visibility. Project does not show up in search result.
-
Search again but specify the group of that project and now project shows up in search result.
Example Project
Not available.
What is the current bug behavior?
project doesn't show up in search result.
What is the expected correct behavior?
project should show up in search result without having to specify the group of that project.
Relevant logs and/or screenshots
Output of checks
Results of GitLab environment info
Running GitLab 12.10.3-ee