https://authzed.com logo
Title
y

yogurtsaucechicken

01/09/2023, 7:44 PM
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)?