Advanced Search ignores invited groups for group wikis

Summary

When using advanced search on a self managed instance with GitLab Version 18.6.1 to find text in a group wiki, a user that their membership from an invited group, will not get any results in the search.

Steps to reproduce

  1. create two top level groups (A and B)
  2. make User 1 a direct member with the owner role on group a
  3. invite group a into group b. so that users of group a get access to group b
  4. create a group wiki in group b with some content
  5. use advanced search to find the content in the wiki
    1. user does not find it
  6. provide user 1 direct membership to group b
  7. use advanced search to find the content in the wiki
    1. user does find the content

What is the current bug behavior?

The user can not find content from the group wiki. When the user is added as a direct member to the group that has the wiki, then the search find content from the wiki.

What is the expected correct behavior?

The user can find content from the group wiki.

Similar issue:

#558226 (closed)

Edited Jan 12, 2026 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading