We are currently using SpiceDB/Authzed and I am wo...
# spicedb
t
We are currently using SpiceDB/Authzed and I am wondering the best way to handle entitlements Basically we have a complex usage based billing setup where we can bill each client differently on different usage metrics like token spend, MCP calls, API calls, or hours of audio/video ingested though our system. The users can set budgeting limits for each of these & each user can hold a different limits with us. The problem we're facing involving entitlements is we need to answer questions like "Does the user still have credits left to use the MCP?" or "Do they have access to this feature given there plan?" at the backend API endpoint level on the critical path We are already using SpicedDB for Authorization. I think we could potentially use SpiceDB for this entitlements use case as well. Entitlements is in some sense a form of authorization, although I deem it slightly different continued in thread...
2 Views