Skip to content

Disallow Pipeline and Job Cancellation (Frontend)

What does this MR do and why?

Adds UI setting to allow users to determine who has permission to cancel pipelines/jobs.

Screenshots or screen recordings

Before After
Screenshot 2023-11-14 at 4.09.36 PM.png Screenshot 2023-11-17 at 11.41.50 AM.png

How to set up and validate locally

  1. Enable feature flag in rails console :restrict_pipeline_cancellation_by_role
  2. Edit setting in Settings > CI/CD > General pipelines
  3. Test different user permission levels and their ability to cancel a running pipeline/job

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 #410634 (closed)

Edited by Payton Burdette

Merge request reports