Refactor gitlab-com membership methods
What does this MR do and why?
Describe in detail what your merge request does and why.
- Remove
::Feature.enabled?(:gitlab_employee_badge)
fromgitlab_com_group_member_id?
so that it can be used to check if a user is a team member for reasons other than displaying the employee badge. - Refactor usages of
gitlab_com_group_member_id?
inside theUser
class.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Brian Williams