My fourth question is about usage of the API itsel...
# spicedb
u
My fourth question is about usage of the API itself. All examples are about creating the base relationships but there is no documentation or example about updating them whatsoever. In our case, I assume it would be something such as creating a relationship to be able to list all products, sell all products, etc. When we want to apply ACL, what should we do, exactly? Should I
WriteRelations
with the operation
DELETE
? Since there is
WriteRelations
with
DELETE
but also
DeleteRelationShips
, it's easy to get confused. My last question would be about ZedTokens. Clearly, this would be useful for all the reasons you're listing on the website and you suggest storing them. Do you have any guidelines or recommendations about storing them? Should I just put them in some Redis store with some TTL? 10 seconds would be acceptable? The micro-service I intend to create would be handling the storing of ZedTokens because if I leave it to every other teams to store the ZedToken and use it carefully, that's just not gonna scale. My company is the far-west when it comes to our microservices. I'm very sorry for the very long post, but I kind of wanted to get all these informations before going to the design/PoC phase. I'm looking forward to it, SpiceDB looks very very cool.