Skip to content

Enable linear EE Group ancestors queries

What does this MR do and why?

In this MR we're removing the feature flag linear_ee_group_ancestor_scopes to allow linear EE Group ancestor queries.

Refs #341350 (closed)

How to set up and validate locally

  1. Enable the feature flag for linear scopes

    Feature.enable(:use_traversal_ids)
  2. Enable the feature flag for linear ancestors scopes

    Feature.enable(:use_traversal_ids_for_ancestor_scopes)
  3. Execute the following in the Rails console with the proper id depending on the scope testing:

Group.new.send(:invited_or_shared_group_members, Group.where(id: [1, 2]))

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports