Explain delete permission on multi-project runners
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
How to set up and validate locally
Given a runner that belongs to 2 or more projects.
- Enable
runner_list_group_view_vue_ui
. See rollout issue: #336405 (closed) - As a Owner of a group that owns one of those projects (non-admin user)
- Visit the CI/CD -> Runners page http://gdk.test:3000/groups/h5bp/-/runners
- 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.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #354004 (closed)
Edited by Miguel Rincon