Add edit path to policies graphql API
What does this MR do and why?
Add edit path to policies graphql API
- add edit path to policies graphql API
- update tests
Changelog: added
EE: true
Screenshots
Request | Screenshot |
---|---|
Project-level Scan Execution Policy | ![]() |
Project-level Scan Result Policy | ![]() |
Group-level Scan Execution Policy | ![]() |
Group-level Scan Result Policy | ![]() |
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Navigate to a project/group => Security => Policies => New policy
- Create a policy
- Navigate to the project/group => Security => Policies => Select the new policy => Edit policy
- Verify the user is navigated to the policy editor
- Verify this works for escaped policies
- Navigate to the project/group => settings => merge requests => select the new policy => View details => Edit policy
- Verify the user is navigated to the policy editor
- 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.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #421339 (closed)
Edited by Alexander Turinske