Skip to content

Refactor role assignment methods

What does this MR do and why?

Refactor role assignment methods

Moving logic from EE::Member to Authz::Role. Separating the concerns here a little bit and trying to make member only responsible for knowing things like source, and what role a member has, and moving all the logic focused on member role and ability comparison to Authz::Role

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.

Edited by Jay

Merge request reports

Loading