Change Policy Store default mode from enforce to warn

What does this MR do and why?

This MR changes the default mode from enforce to warn per the issue requirement that new policies should default to warn mode, allowing them to be observed before enforcing.

The Policy Store stores and returns mode but does not interpret it — mode routing (deciding whether to block, warn, or just log) is the caller's responsibility.

MR acceptance checklist

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

https://gitlab.com/gitlab-org/gitlab/-/issues/604288

Edited by Andy Schoenen

Merge request reports

Loading
Loading