Retrieve Global Push Rules using OrganizationPushRule table

What does this MR do and why?

This introduces a container argument for the PushRuleFinder class to allow finding of respective project/group/organization push rules.

It also introduces the read_organization_push_rules feature flag

Query Plan

Here is the query plan for the OrganizationPushRule.find_by(organization: container) introduced in this MR.

References

Screenshots or screen recordings

Before After

How to set up and validate locally

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #498940 (closed)

Edited by Olaoluwa Oluro

Merge request reports

Loading