Skip to content

Move License->Plan mapping to License class

Fabio Pitino requested to merge move-license-map-to-subscription into master

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.

Edited by Fabio Pitino

Merge request reports