Skip to content

search: Ensure we have a user before fetching repo groups

Administrator requested to merge search/check-user into main

Created by: ryanslade

It's possible that we are searching as a non authenticated user in which case we should not try to fetch repo groups for that user.

If we do, we actually default to searching ALL repos since a UserID of zero is equivalent to no filtering.

Merge request reports

Loading