Add policy exceptions selector

What does this MR do and why?

Add policy exceptions selector

Policy exceptions option selector allows user to select an exception bypassing option

This change improves the policy exceptions interface in the security orchestration feature. It splits the previous "Account Tokens" option into separate "Service Account" and "Personal Access Token" options, providing more granular control.

References

Screenshots or screen recordings

Description UI
Policy exceptions option exceptions.mov

How to set up and validate locally

  1. Enable feature flag:

    Feature.enable(:security_policies_bypass_options)
  2. Secure -> Policies

  3. New merge request approval policy

  4. Open Advanced settings

  5. Click exception button

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

Merge request reports

Loading