https://authzed.com logo
#spicedb
Title
# spicedb
b

Ben RMX

08/26/2021, 3:38 PM
trying out the zed cli, just brew tap installed this morning.
Copy code
zed relationship delete btwb_development/document:firstdoc reader btwb_development/user:fred
returns an error with message
Copy code
Error: rpc error: code = InvalidArgument desc = invalid WriteRequest.Updates[0]: embedded message failed validation | caused by: invalid RelationTupleUpdate.Tuple: embedded message failed validation | caused by: invalid RelationTuple.ObjectAndRelation: embedded message failed validation | caused by: invalid ObjectAndRelation.Namespace: value does not match regex pattern "^([a-z][a-z0-9_]{2,62}[a-z0-9]/)?[a-z][a-z0-9_]{2,62}[a-z0-9]$"
the cli usage says
Copy code
Usage:
  zed relationship delete <subject:id> <relation> <object:id> [flags]
but that regex doesn't include the colon
:
?
4 Views