License: Add Ability to license features/configs

Issue No: SM-5510
Created 5/29/2022 10:38:47 AM
Type Feature
Priority Major
Status Closed
Resolution Fixed
Fixed Version 22.1
Description This is an option for modules where there are features or configs that needs to be licensed.   The first that we will do this for is Store. In Store, there is a config for maximum number of allowed store and maximum number of consigned stores. The logic is the same with the maximum number of allowed active users.   All we need to do is to bake this in to license.   First, we need to remove the Consignment module from the list of module. Consignment is under Store module.   Then we add the Features.   !pastedImage_d186337_0.png|height=738,width=871!   Max Consignment Stores can only be less than or equal to the Max Stores.   Features panel should also show when opening existing license   !pastedImage_d186337_1.png|height=852,width=1000!   and in Customer screen   !pastedImage_d186337_2.png|height=703,width=1000!     Generated Licenses should still work with lower versions.