Skip to content

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.

  1. Enable feature flag

    Feature.enable(:pipeline_execution_policy_type)
  2. Go to Settings -> General

  3. Toggle the Permissions and group features section

  4. Enable Security policy pipeline execution action

  5. Go to project/group

  6. Secure -> Policies

  7. Check network tab in dev tools, make sure new query for pipelineExecutionPolicies was called

  8. Check both for a group and project

Related to #454326 (closed)

Edited by Artur Fedorov

Merge request reports