https://authzed.com logo
I m trying to `zed relationship read`
f

fierro

03/31/2023, 5:54 AM
I'm trying to
zed relationship read
specifying the required resource type and the optional subject type, but not the optional relation (I want all relations). the zed utility has usage
Usage:
  zed relationship read <resource_type:optional_resource_id> <optional_relation> <optional_subject_type:optional_subject_id#optional_subject_relation> [flags]
However, it's not allowing me to omit the relation when specifying the subject type. The API definition doesn't mention an interdependency between the optional relation and optional subject, so assuming this is just zed.
v

vroldanbet

03/31/2023, 11:24 AM
indeed, API suggests everything but the resource type is optional: https://buf.build/authzed/api/docs/main:authzed.api.v1#authzed.api.v1.RelationshipFilter
Can you try
...
as relation?
if that does not work, I'd suggest opening an issue in
zed
f

fierro

04/03/2023, 9:59 PM
yeah that does not work