How to make sure a SpiceDB relation has one single...
# spicedb
a
Hi, I want to create owner relation that can have only one relationship in database, is it possible?
v
You can do this with preconditions than make sure that no write to
owner
relation happens if another relation already exists: https://buf.build/authzed/api/docs/main:authzed.api.v1#authzed.api.v1.Precondition