-
Lets say I have 3 users, customer1, customer2, and support1 When the customers create objects I want them to have an owner relationship. This maps to read,write and delete. Now, I want to be able to put a support users group that has read access to the customer objects. I don't want to have to make a separate API for support users and customers. The objects visible should be reflected by what group they are in. I have tried the list API, but it doesn't list objects the support user should have for visibility. Can Keto support this type of scenario? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Have you seen and followed https://www.ory.sh/keto/docs/guides/list-api-display-objects? There we explain why there is no specific "list everything I have access to" API.
Currently, for me this sounds more like a convenience thing rather than a limitation of the current API. Please keep in mind that adding such convenience shortcuts will impact performance, possibly by orders of magnitude, depending on your data. More details are in above linked docs page. |
Beta Was this translation helpful? Give feedback.
-
hello @zepatrik we are trying to use keto as the foundation of our authorization system. I'v already read keto docs and had a brief understanding of keto implementation through reading part of keto codes. our business scenarios have 1k+ subjects that might be binded to a our planned modeling like following
With the above model, we have the following considerations for the
|
Beta Was this translation helpful? Give feedback.
Have you seen and followed https://www.ory.sh/keto/docs/guides/list-api-display-objects? There we explain why there is no specific "list everything I have access to" API.
If you have a use case that has vastly different requirements, which can't be met by the current API, please explain them in more detail.
Currently, for me this sounds more like a convenience thing rather than a limitation of the current API. Please keep in mind that adding such convenience shortcuts will impact performance, possibly by orders of magnitude, depending on your data. More details are in above linked docs page.