Draft: Refactor Authz::Roles class (2 of 3)
What does this MR do and why?
Refactor Authz::Roles class
Moving Authz::Role.access_level_encompasses? to Gitlab::Access.level_encompasses? as a first step to refactor role comparison methods.
original MR: !210959 (closed)
part of: https://gitlab.com/gitlab-org/gitlab/-/issues/574071
References
Screenshots or screen recordings
| Before | After |
|---|---|
How to set up and validate locally
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.