Skip to content

Add edit path to policies graphql API

What does this MR do and why?

Add edit path to policies graphql API

Changelog: changed

EE: true

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After
beforebefore after after

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Navigate to a project/group => Security => Policies => New policy
  2. Create a policy
  3. Navigate to the project/group => Security => Policies => Select the new policy => Edit policy
  4. Verify the user is navigated to the policy editor
  5. Verify this works for escaped policies
  6. Navigate to the project/group => settings => merge requests => select the new policy => View details => Edit policy
  7. Verify the user is navigated to the policy editor
  8. Verify this works for escaped policies

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #421339 (closed)

Edited by Alexander Turinske

Merge request reports