Join Discord
Powered by
hey! I'm looking to replicate the expected relatio...
# spicedb
d
derwolfe
05/03/2022, 3:36 PM
hey! I'm looking to replicate the expected relations tab from the playground with grpc calls, is it just backed by ReadRelations?
derwolfe
05/03/2022, 3:52 PM
I think what I'm really looking for is a subset of ExpandPermissionTree to try to validate part of the path
derwolfe
05/03/2022, 3:52 PM
https://play.authzed.com/s/OpA_Dv4FioF6/expected
j
Jake
05/03/2022, 3:53 PM
spicedb has a developer API that you can just use to get the exact data that drives that tab
Jake
05/03/2022, 3:54 PM
here is the entrypoint on the implementation:
https://github.com/authzed/spicedb/blob/main/internal/services/v0/developer.go
d
derwolfe
05/03/2022, 3:57 PM
awesome, this is exactly what I was looking for
derwolfe
05/03/2022, 3:57 PM
thanks
3
Views
Previous
Next