@hsluoyz Another question: How can I check user's subscription validity in enforcers?
From reading docs and issues I concluded that you intended to have this integration between subscription system and ACL by having "Roles" in "Plan" entity. But I couldn't find any functionality that would assign the designated role to the user when user buys a new subscription from that plan.
I assume the ideal way of handling it is that casdoor adds the "subscribed" role to the user until the subscription expires. Then the enforcer policies would automatically get updated because of a related permission record.
