polite-traffic-4036
04/12/2024, 5:22 AMchilly-king-10285
04/12/2024, 5:22 AMchilly-king-10285
04/12/2024, 5:23 AMview
or edit
. The concrete permission is then still checked against the relationships. For example, if owners
can view
a file and the view
permission is checked, then the owners
relation is looked up in the relationships database. Here's an example of how you might check permissions for a document: - view
a document if the user is a viewer
, editor
, or owner
of the document; or if the user can view
the parent folder - edit
a document if the user is a editor
, or owner
of the document; or if the user can edit
the parent folder Again, the specific implementation details or code examples for this process are not provided in the given knowledge sources. For more detailed information, you may want to refer to the following resources: - [Ory Keto Documentation](https://www.ory.sh/docs/keto) - [How to integrate permission checks to your application](https://www.ory.sh/docs/keto/guides/simple-access-check-guide#understand-ory-permissions) - [List API: Display all Objects a User has Access to](https://www.ory.sh/docs/keto/guides/list-api-display-objects)polite-traffic-4036
04/12/2024, 5:49 AMpolite-traffic-4036
04/12/2024, 5:56 AMchilly-king-10285
04/12/2024, 5:56 AMchilly-king-10285
04/12/2024, 5:56 AM