Move License->Plan mapping to License class
What does this MR do and why?
Related to !80742 (merged)
While working on !80742 (merged) I noticed that the License -> Plan
mapping was defined in Namespace
class.
I think that Namespace
shouldn't be aware of this knowledge. Instead License
seems to be a better home for this mapping since we use this class to check feature availability.
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 Fabio Pitino