Use new auth filter in milestones

Description

The milestones query builder uses the legacy authorization filter by_authorization. This is known to produce large, inefficient global and group Elasticsearch queries.

Proposal

Change the query builder to use by_search_level_and_membership filter and update specs accordingly. This should be introduced behind a feature flag.

Edited Dec 04, 2025 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading