Refactored BillableUsersUtils

What does this MR do and why?

  • Modified the util to be called via class invocation, to allow the util to be used at other places.
  • Removed feature specific check from the util to make it more accessible
  • Removed NO_ACCESS role checks as that role should never come here
  • Decoupled Minimal Access and member_role_id

References

#524864

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 Suraj Tripathi

Merge request reports

Loading