Closed evgeniradev closed 4 months ago
Turns out it is because of the default configuration reference I pulled from the official docs here: https://www.ory.sh/docs/keto/reference/configuration
The max_read_depth value restricts the traversal to 1 level.
Preflight checklist
Ory Network Project
No response
Describe the bug
I am setting a permission model that is made up of Users, UserGroups and Clients.
Users can belong to UserGroups. UserGroups can be assigned permissions. If a UserGroup has a certain permission assigned, then all its assigned Users should have it too.
I have assigned a User to a UserGroup and given that UserGroup the permission to create a specific Client. However, when I trigger the Ory Keto check to check if the User is allowed to create the Client, the result is
Denied
.Reproducing the bug
Use the following configuration:
Then run:
The result appears to be
Denied
when, as far as I understand, it should be 'Allowed'.Relevant log output
No response
Relevant configuration
No response
Version
v0.12.0
On which operating system are you observing this issue?
None
In which environment are you deploying?
None
Additional Context
No response