As an anonymous or non group member, group wikis are not shown in the advanced group search
Summary
An anonymous user(or a logged-in user without a member of a group) is searching an advanced group-level search on a public group with wiki enabled. In the search results group, wikis are not present. However, the user can directly access the group wiki pages.
Steps to reproduce
- Select a target group that is public and the wiki is enabled. eg: https://gitlab.com/gitlab-org/search-team
- Create a group-level wiki. e.g.: already created https://gitlab.com/groups/gitlab-org/search-team/-/wikis/home
- Search for this group-level wiki as an anonymous user or a logged-in user who is not a member of the group. eg: https://gitlab.com/search?search=wiki&group_id=6185122&scope=wiki_blobs
- In the search results group wikis are missing.
What is the current bug behavior?
Group wikis are missing in group-level advanced search for anonymous users
What is the expected correct behavior?
Group wikis should be present in group-level advanced searches for anonymous users