Skip to content

Adapt Jobs/Runners Finder to use policy instead of `admin?`

Jonas Wälter requested to merge siemens/gitlab:admin-mode/ci-jobs_finder into master

What does this MR do and why?

I'm tackling !58530 (closed) and trying to reduce the scope. This MR changes Ci::JobsFinder and Ci::RunnersFinderto use the policy instead of admin?.

🛠 with at Siemens

/cc @bufferoverflow

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Jonas Wälter

Merge request reports