Hi, if I want to update a relationship, such as ch...
# spicedb
y
Hi, if I want to update a relationship, such as change a user's relation from Writer to Reader only, would I have to delete the Writer relation and then create a new Reader relationship tuple? And if so, since WriteRelationshipsRequest (in https://github.com/authzed/authzed-go/) accepts an array of RelationshipUpdates, can I prepend an update with Delete operation before the CREATE operation update? Or would this be considered as an anti-pattern (performing a delete within a request for writing)?
2 Views