bored-agency-21522
06/29/2023, 11:07 AMnamespaces:
location: file:///home/ory/workspaces.ts
also the cat video example is horribly outdated with 0.6.x while current is 0.11.x and I get the impression that keto is nowhere near production ready with bugs like https://github.com/ory/keto/issues/1330 and https://github.com/ory/keto/issues/1339 w/o any updates/answers at all or for a while. can someone comment on the status of the project? I don’t see a lot of progress on github as well. looks to me like focus is elsewhere?
PS: let me also add this ticket https://github.com/ory/keto/issues/1060bored-agency-21522
06/29/2023, 11:25 AMbillions-leather-15882
06/29/2023, 12:19 PMbored-agency-21522
06/29/2023, 12:26 PMbored-agency-21522
06/29/2023, 12:27 PMbillions-leather-15882
06/29/2023, 12:33 PMbored-agency-21522
06/29/2023, 12:36 PMbillions-leather-15882
06/29/2023, 12:37 PMbored-agency-21522
06/29/2023, 12:38 PMbillions-leather-15882
06/29/2023, 12:43 PMbillions-leather-15882
06/29/2023, 12:47 PMbillions-leather-15882
06/29/2023, 12:47 PMbillions-leather-15882
06/29/2023, 12:49 PMbillions-leather-15882
06/29/2023, 12:53 PMbillions-leather-15882
06/29/2023, 12:55 PMbillions-leather-15882
06/29/2023, 12:57 PMbillions-leather-15882
06/29/2023, 12:58 PMbillions-leather-15882
06/29/2023, 1:05 PMbored-agency-21522
06/29/2023, 1:21 PM~/d/k/keto >>> curl <http://0.0.0.0:4467/admin/relation-tuples> -d ' { (base) 585ms Thu Jun 29 15:19:55 2023
"$schema": "../.schema/relation_tuple.schema.json",
"namespace": "workspace",
"object": "1",
"relation": "owner",
"subject_set": {
"namespace": "user",
"object": "alice"
}
}' -X PUT
=
that gives me {"error":{"code":404,"status":"Not Found","reason":"Unknown namespace with name \"workspace\".","message":"The requested resource could not be found"}}
bored-agency-21522
06/29/2023, 1:22 PMbillions-leather-15882
06/29/2023, 1:23 PMbillions-leather-15882
06/29/2023, 1:23 PMbored-agency-21522
06/29/2023, 1:23 PMbillions-leather-15882
06/29/2023, 1:25 PMbored-agency-21522
06/29/2023, 1:25 PMbillions-leather-15882
06/29/2023, 1:26 PMbillions-leather-15882
06/29/2023, 1:26 PMbored-agency-21522
06/29/2023, 1:26 PMbillions-leather-15882
06/29/2023, 1:26 PMbored-agency-21522
06/29/2023, 1:27 PM~/d/k/keto >>> curl <http://0.0.0.0:4467/admin/relation-tuples> -d ' { (base) Thu Jun 29 15:26:45 2023
"$schema": "../.schema/relation_tuple.schema.json",
"namespace": "Workspace",
"object": "1",
"relation": "owners",
"subject_set": {
"namespace": "User",
"object": "alice"
}
}' -X PUT
{"namespace":"Workspace","object":"1","relation":"owners","subject_set":{"namespace":"User","object":"alice","relation":""}}
billions-leather-15882
06/29/2023, 1:27 PMbillions-leather-15882
06/29/2023, 1:27 PMbored-agency-21522
06/29/2023, 1:27 PMbored-agency-21522
06/29/2023, 1:29 PMbillions-leather-15882
06/29/2023, 1:30 PMbored-agency-21522
06/29/2023, 1:31 PMbored-agency-21522
06/29/2023, 1:48 PM~/d/k/keto >>> curl "<http://0.0.0.0:4466/relation-tuples/check?namespace=Workspace&object=1&relation=owners&subject_id=alice>" (base) Thu Jun 29 15:47:40 2023
{"allowed":false}
~/d/k/keto >>> curl "<http://0.0.0.0:4466/relation-tuples/check?namespace=Workspace&object=1&relation=users&subject_id=alice>" (base) Thu Jun 29 15:47:57 2023
{"allowed":false}
~/d/k/keto >>> curl "<http://0.0.0.0:4466/relation-tuples/check?namespace=Workspace&object=1&relation=users&subject_id=bob>" (base) Thu Jun 29 15:48:08 2023
{"allowed":false}
that’s not working as expected 😄 @billions-leather-15882 did you get a check to work yet?bored-agency-21522
06/29/2023, 1:50 PM~/d/k/keto >>> curl "<http://0.0.0.0:4466/relation-tuples/expand?namespace=Workspace&object=1&relation=owners>" (base) Thu Jun 29 15:48:50 2023
{"type":"union","children":[{"type":"leaf","tuple":{"namespace":"","object":"","relation":"","subject_set":{"namespace":"User","object":"alice","relation":""}}}],"tuple":{"namespace":"","object":"","relation":"","subject_set":{"namespace":"Workspace","object":"1","relation":"owners"}}}
~/d/k/keto >>> curl "<http://0.0.0.0:4466/relation-tuples/expand?namespace=Workspace&object=1&relation=users>" (base) Thu Jun 29 15:49:54 2023
{"type":"union","children":[{"type":"leaf","tuple":{"namespace":"","object":"","relation":"","subject_set":{"namespace":"User","object":"bob","relation":""}}}],"tuple":{"namespace":"","object":"","relation":"","subject_set":{"namespace":"Workspace","object":"1","relation":"users"}}}
bored-agency-21522
06/29/2023, 1:53 PMbored-agency-21522
06/29/2023, 1:53 PM~/d/k/keto >>> curl "<http://0.0.0.0:4466/relation-tuples/check>" -d '{ (base) Thu Jun 29 15:52:03 2023
"namespace": "Workspace",
"object":"1",
"relation":"owners",
"subject_set":{"namespace":"User","object":"alice"}
}' -X POST
{"allowed":true}
billions-leather-15882
06/29/2023, 6:31 PMbored-agency-21522
06/29/2023, 9:26 PM