Thanks.
That worked well for the namespaces.
However, for the relations, running:
ory list relation-tuples --project=$PROJECT --format=json
which returns:
{
"relation_tuples": [
{
"namespace": "User",
"object": "Samarth",
"relation": "exists",
"subject_id": "samarth"
},
{
"namespace": "Accounts",
"object": "foobar",
"relation": "edit_rights",
"subject_id": "samarth"
}
],
"is_last_page": true,
"next_page_token": ""
}
.
When running
keto relation-tuple parse users.json
it returns:
--format=json
Could not decode users.json:1
{"relation_tuples":[{"namespace":"User","object":"Samarth","relation":"exists","subject_id":"samarth"},{"namespace":"Accounts","object":"foobar","relation":"edit_rights","subject_id":"samarth"}],"is_last_page":true,"next_page_token":""}
malformed string input
I am stuck here so to speak