cool-yak-12028
03/21/2022, 10:45 AMdamp-sunset-69236
03/21/2022, 10:55 AMcool-yak-12028
03/21/2022, 10:56 AMsteep-lamp-91158
fierce-toothbrush-41957
04/13/2022, 1:54 PMsteep-lamp-91158
fierce-toothbrush-41957
04/13/2022, 1:56 PMsteep-lamp-91158
fierce-toothbrush-41957
04/13/2022, 1:58 PMsteep-lamp-91158
fierce-toothbrush-41957
05/09/2022, 9:04 AMsteep-lamp-91158
fierce-toothbrush-41957
05/23/2022, 11:47 PMsteep-lamp-91158
fierce-toothbrush-41957
05/24/2022, 9:30 AMsteep-lamp-91158
ory patch project <your-project-id> --add '/services/permission/config/namespaces=[{"id": 0, "name": "whatever"}]'
3. see ory help
for all the other ways to update/patch/... the keto config
4. run
#!/bin/bash
set -euo pipefail
relationtuple='
{
"namespace": "services",
"object": "hello-world-service",
"relation": "access",
"subject_id": "49333d9d-e12b-40ff-8dd3-50d99d848baf"
}'
curl -X PUT \
--data "$relationtuple" \
-H "Authorization: Bearer token"\
-H "Content-type: application/json"\
https://<your-project-slug>.<http://projects.oryapis.com/admin/relation-tuples|projects.oryapis.com/admin/relation-tuples>