The following command:
zed permission lookup-subjects "local/client:KEYS" doc1_view "local/user"
returns a list of users that have permissions "doc1_view" for resource "client" and resourceId "KEYS"
I want to get the same list of users using java code (Want to replicate in java). Can anyone kindly point out to an example snippet?
I tried a list of possibilities, but get exceptions. Yes, i m new to zed and spiceDB.