You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A request to relation-tuples/check requires the subject set relation to be set. It should just default to an empty string, so that we can, e.g., check Documet:secret#read@User:Bob without having to specify the subject set relation at all.
Reproducing the bug
curl -X GET --silent \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $ORY_PAT" \
"$ORY_SDK_URL/relation-tuples/check?namespace=File&object=code&relation=view&subject_set.object=Bob&subject_set.namespace=File"|jq
{
"error": {
"code": 400,
"status": "Bad Request",
"request": "e6e69ca0-1043-9c73-a0e0-73729283136d",
"message": "incomplete subject, provide \"subject_id\" or a complete \"subject_set.*\""
}
}
Relevant log output
No response
Relevant configuration
No response
Version
master
On which operating system are you observing this issue?
Linux
In which environment are you deploying?
Ory Network
Additional Context
No response
The text was updated successfully, but these errors were encountered:
Preflight checklist
Describe the bug
A request to
relation-tuples/check
requires the subject set relation to be set. It should just default to an empty string, so that we can, e.g., checkDocumet:secret#read@User:Bob
without having to specify the subject set relation at all.Reproducing the bug
Relevant log output
No response
Relevant configuration
No response
Version
master
On which operating system are you observing this issue?
Linux
In which environment are you deploying?
Ory Network
Additional Context
No response
The text was updated successfully, but these errors were encountered: