Use new auth filter in commits
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Description
The commits query uses the legacy authorization filtering by project ids (global search) and traversal_ids and rejected project list (group search). This is known to produce large, inefficient global and group Elasticsearch queries.
Proposal
Change the query to use by_search_level_and_membership
filter and update specs accordingly. This should be introduced behind a feature flag.
Edited by 🤖 GitLab Bot 🤖