Draft: Move can_assign_custom_roles method from helper to model
What does this MR do and why?
- This is just a refactor. It removes the method
custom_role_for_group_link_enabled/custom_role_for_project_link_enabledfrom helpers and adds it to theProject&Groupmodel.
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 Hinam Mehra