Add `admin_runners` custom role permission
What does this MR do and why?
This change introduces a new custom permission to allow users the ability to manage runners for a group or project.
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
| Before | After |
|---|---|
|
After: Enable/Disable instance runners for Group
|
How to set up and validate locally
- In rails console enable the experiment fully
Feature.enable(:custom_ability_admin_runners) - Create a role with the
Admin Runnerspermission enabled. - Assign the new role to a new user
- Login with the new user
- Visit any project page and ensure that the
Settingsmenu item appears in the navigation. - Click on the
Settingsmenu and ensure that theCI/CDmenu item appears. - Click on the
CI/CDmenu. - Ensure that the
Runnerssection appears. - Click on
Expand - Ensure that the list of runners are displayed.
Edited by mo khan







