https://authzed.com logo
Hi team
d

DharsanB

03/31/2023, 7:06 AM
Hi team,Is it possible to apply multiple filters in ReadRelationshipsRequest?
v

vroldanbet

03/31/2023, 11:25 AM
no it's not possible, you'd need to issue various independent ReadRelationship requests
What are you trying to achieve?
d

DharsanB

04/01/2023, 3:40 AM
I’m trying to get a list of entities a user can access and belong to an org
v

vroldanbet

04/03/2023, 8:35 AM
Please note read relationships does not compute effective permissions in the system, so you'd be making such inference by exploiting knowledge of the schema. That is subject to errors as the schema evolves. The API for this would be LookupSubjects. But it won't filter by org, so you'd have to do that at the application level.