authzed / zed

Official command-line tool for managing SpiceDB
https://authzed.com/docs/reference/clients
Apache License 2.0
116 stars 25 forks source link

Implement a command for authzed.api.v0.ACLService.Lookup #17

Closed jzelinskie closed 2 years ago

jzelinskie commented 3 years ago

A command is missing to expose the functionality from the Lookup API.

This API call lists the objects of a given type that a user has access to in a Permissions System.

A strawman for how it could be exposed it via the CLI:

zed relationship lookup user:emilia posts:read

jzelinskie commented 2 years ago

Lookup was added in https://github.com/authzed/zed/pull/20