Wiki is not searchable with Guest permissions
Summary
User with Guest permission is able to view wiki pages. But if this user searches for a keyword (which is mentioned on a wiki page), there is no tab that shows results for wiki pages.
Steps to reproduce
We use GitLab CE (self hosted):
- Give a user Guest permission (project or group)
- Search for a keyword that is used on a wiki page
What is the current bug behavior?
No results for wiki pages with Guest permission.
What is the expected correct behavior?
Guest permission should display search results for wiki pages as well.
Relevant screenshots
This is how it looks like as Guest:
This is how it looks like as Reporter:
Related
Might be related to https://gitlab.com/gitlab-org/gitlab-ce/issues/25696 and https://gitlab.com/gitlab-org/gitlab-ce/issues/21873