Hello guys, I am trying to understand what I am do...
# general
g
Hello guys, I am trying to understand what I am doing wrong while testing the permission models. My namespaces/permissions are being generated from this permissions-v5.ts example (https://www.ory.sh/docs/keto/modeling/create-permission-model#optional-refactoring). In addition to that I have added two relation-tuples using the http endpoint /admin/relation-tuples:
Copy code
{
  "relation_tuples": [
    {
      "namespace": "Folder",
      "object": "child",
      "relation": "parents",
      "subject_id": "parent"
    },
    {
      "namespace": "Folder",
      "object": "parent",
      "relation": "owners",
      "subject_id": "robert"
    }
  ],
  "next_page_token": ""
}
I am expecting to be able to "view" the "child" Folder with the user "robert" because "robert" is 'owners' of "parent". Should it work like this or am I doing something wrong?