Add bypass_settings to a policy constructor

What does this MR do and why?

This change adds a new configuration option called "bypass_settings" to the approval policy system. When the system converts policy data into a standardized format (YAML), it now includes this additional bypass_settings field alongside the existing policy configuration options like actions, rules, and approval settings. This allows policies to have more flexible bypass behavior that can be properly stored and retrieved.

References

Screenshots or screen recordings

***NO VISUAL CHANGES***

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

Merge request reports

Loading