Skip to content

Adapt helpers to use policy instead of `admin?`

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

What does this MR do and why?

I'm tackling !58530 (closed) and trying to reduce the scope. This MR changes the helpers to 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.

Merge request reports