Create/Update OrganizationPushRule directly

What does this MR do and why?

Create/Update OrganizationPushRule directly

This introduces direct creation/update for OrganizationPushRule vs through the PushRule database triggers.

It will be released behind the update_organization_push_rules FF

References

Screenshots or screen recordings

Before After

How to set up and validate locally

  • Enable Feature.enable(:update_organization_push_rules)
  • Visit admin (global) push rules https://gdk.test:(YOUR_PORT)/admin/push_rule#js-push-rule-settings
  • Update push rules
  • Refresh to confirm update and retrieval are successful
  • You can also disable the flag to see previous implementation

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 #500482 (closed)

Edited by Olaoluwa Oluro

Merge request reports

Loading