Skip to content

Update policy type param for editing to use approval_policy

What does this MR do and why?

This MR changes policy type param for policy edit_path to use the new approval_policy.

Depends on Update scan result policy name (!142264 - merged).

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.

How to set up and validate locally

  1. Visit Secure -> Policies
  2. Create a new Merge request approval policy
  3. Configure with merge request & Merge
  4. Go back to the policies list and edit the policy.
  5. Verify it uses approval_policy in the type URL param.

Related to #413783 (closed)

Edited by Martin Čavoj

Merge request reports