• ?

    user

    1 year ago
    @here Hey everyone! We just open-sourced the proxy that we use to secure our monitoring stack: you can read about it here https://authzed.com/blog/prom-authzed-proxy/ and check out the code here https://github.com/authzed/prom-authzed-proxy
  • ?

    user

    1 year ago
    hmm... does anybody know if there are popular integrations that we could use to get github events streamed into discord?
  • b

    Ben RMX

    1 year ago
    trying out the zed cli, just brew tap installed this morning.
    zed relationship delete btwb_development/document:firstdoc reader btwb_development/user:fred
    returns an error with message
    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
    Usage:
      zed relationship delete <subject:id> <relation> <object:id> [flags]
    but that regex doesn't include the colon
    :
    ?
  • ?

    user

    1 year ago
    hey there, have you tried without the namespace?
  • ?

    user

    1 year ago
    the zed login context has the namespace so you should be able to do
  • ?

    user

    1 year ago
    zed relationship delete document:firstdoc reader user:fred
  • ?

    user

    1 year ago
    it's probably sending
    btwb_development/btwb_development/document:firstdoc
    to the server
  • b

    Ben RMX

    1 year ago
    thanks. that was it... what i had to do:1. remove the namespace 2. and also reverse that subject object
    zed relationship delete user:fred reader document:firstdoc
  • ?

    user

    1 year ago
    yep, it's a little awkward right now, but we're moving things towards "subject verb object" rather than the zanzibar paper's "object relation subject"
  • ?

    user

    1 year ago
    if you don't mind, you could create an issue on zed to handle the case where the user actually passes the namespace on the CLI