Skip to content

Explain delete permission on multi-project runners

Miguel Rincon requested to merge 354004-add-users-notice-deletepermission into master

What does this MR do and why?

Fix for #355036 (closed), depends on !82023 (merged)

This change adds a tooltip explaining to group owners why they can't delete a runner that has been already added to multiple projects.

Screenshots or screen recordings

Screen_Shot_2022-03-14_at_11.47.21_AM

How to set up and validate locally

Given a runner that belongs to 2 or more projects.

  1. Enable runner_list_group_view_vue_ui. See rollout issue: #336405 (closed)
  2. As a Owner of a group that owns one of those projects (non-admin user)
  3. Visit the CI/CD -> Runners page http://gdk.test:3000/groups/h5bp/-/runners
  4. Confirm that the runner cannot be deleted and has a tooltip that explains why.

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

Edited by Miguel Rincon

Merge request reports