Time limited role

I’d like to give vip role to my users when they pay for a subscription. But the vip role should be removed when the subscription expires.
As far as I know, I have to traverse the subscription state of my users hourly to detect if the subscription ended and update user roles.
Is there a better way to achieve this?

1 Like

Also wanted to know that. The solution I have in mind is creating an Auth SPI that checks if the user access level has expired upon logging in, but that would require a whole of configuration… I’m wondering if there isn’t a simpler solution.