Search doesnt show tickets belonging to secondary organization

Infos:

  • Used Zammad version: 5.2.x
  • Used Zammad installation type: Source
  • Operating system: Ubuntu 20.04.1 LTS
  • Browser + version: Firefox 104.0.1, Chrome 104.0.5112.102

Expected behavior:

  • When i as a user with customer role searches for a ticket i expect to get a result even if the ticket belongs to a secondary organization which i have access to.

Actual behavior:

  • The search result displays tickets belonging to my primary organization but not the secondary organization.

Steps to reproduce the behavior:

    1. Make sure the user have customer role and have access to a secondary organization with tickets
  1. Search for a ticket belonging to the secondary organization