Skip to content

Fixes missing "cancel" job button in admin jobs

What does this MR do and why?

This change restores the missing "cancel" job button by fetching the right permissions of jobs that are listed in the admin area.

Updates feature tests to prevent regressions.

Changelog: fixed

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

Note the missing button:

Before After
image image

How to set up and validate locally

  1. Visit admin/jobs
  2. While running any job
  3. Confirm the running job has a "cancel" 🚫 button

Related to #443622 (closed)

Merge request reports