Replies: 2 comments
-
Hi @oasisk Those filters are not supported in the Read API. Also, I assume you want to know all the objects that assignee of a specific role have access to, right? You'd need to make one call per object type: Read (user: role:role1#assignee , object: "folder:") |
Beta Was this translation helpful? Give feedback.
0 replies
-
BTW, improving this is in our roadmap openfga/roadmap#33 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Checklist
Description
Our model allows custom role creation & assigning permissions to this role on pre-defined resources, the permissions are get , list , create , update & delete.
Our model is as described in Store data.
We would like to fetch all permissions that role:role1 has, read or list objects API cant help us fetch us because of mandatory request attributes each of API's have
Expectation
We would like to fetch all permission tuples for role:role1
Reproduction
model specified above
Store data
OpenFGA version
v1.4.0
How are you running OpenFGA?
In Docker
What datastore are you using?
Postgres
OpenFGA Flags
NA
Logs
No response
Beta Was this translation helpful? Give feedback.
All reactions