Display shared runner details to group owners (1)
What does this MR do and why?
This change allows group owners to view the runner details page, previously they were met with a 404 result.
This change is part of a change that allows group owners more visibility of all runners, changes become relevant at !97108 (merged) where the runners get listed and the links must work.
Screenshots or screen recordings
NA
How to set up and validate locally
This is not meant to be a user facing change, but you may test that a group owner can visit an instance runner page:
- Logged in as as root/admin
- Visit Admin -> Runners
- Find the numeric id of an instance runner you have registered (e.g.
1
)
You may impersonate another user for the next steps:
- Logged in as a group owner (not as root)
- Visit your group runners at Group -> CI/CD -> Runners e.g.
http://gdk.test:3000/groups/top-group/-/runners
- Add the numeric id, e.g.
/1
to the URL,http://gdk.test:3000/groups/top-group/-/runners/1
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 #337838 (closed)
Edited by Miguel Rincon