Access Control based on current users subscription
I am building an app with a subscription system and I would like to disallow the user from creating, updating and deleting when their subscription status is not "active", the subscription can be found in "api/tenants/current". How can I do that with the react router and the create button and everything, without using cerbios or something.
