To support our resellers, we allocate batches of licenses, which are not yet assigned to any user. For these licenses, we use the reseller_id field to associate it to the reseller. When the reseller sells a license, they give the activation code to the customer. When the customer enters the code into our app, it talks back to cryptlex and updates the user_id field on the license.
If the reseller logs in to the customer portal, then the list of licenses shows these; it has both the licenses where the reseller is the user_id, and the licenses where the reseller is the reseller_id. But, its not really clear the state of each license.
In the customer portal, it would be great to easily differentiate between:
- Licenses where the logged-in user is the user_id
- Licenses where the logged in user is the reseller_id, but there is no user_id (ie. the license has not been sold yet)
- Licenses where the logged in user is the reseller_id, and there is a valid user_id (ie. the license has been sold by the reseller)
Could you add that as a feature request?