Add graphql queries for pipeline execution policy type
What does this MR do and why?
This MR adds pipeline execution queries
New pipeline execution policy type requires new query for group and project level
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.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
***NO VISUAL CHANGES***
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
-
Enable feature flag
Feature.enable(:pipeline_execution_policy_type)
-
Go to Settings -> General
-
Toggle the Permissions and group features section
-
Enable Security policy pipeline execution action
-
Go to project/group
-
Secure -> Policies
-
Check network tab in dev tools, make sure new query for pipelineExecutionPolicies was called
-
Check both for a group and project
Related to #454326 (closed)