Deleting a namespace that contains relation tuples results in GetRelationTuples returning "not found"
hperl opened this issue · comments
Henning Perl commented
Preflight checklist
- I could not find a solution in the existing issues, docs, nor discussions.
- I agree to follow this project's Code of Conduct.
- I have read and am following this repository's Contribution Guidelines.
- This issue affects my Ory Cloud project.
- I have joined the Ory Community Slack.
- I am signed up to the Ory Security Patch Newsletter.
Describe the bug
When I delete a namespace that has relation tuples, subsequent calls to GetRelationTuples returns in a "not found" (for the deleted namespace).
Instead, GetRelationTuples should just filter out the tuples for which the namespace was deleted.
Reproducing the bug
- Create namespace "users"
- Create relation tuple "users:foo#id@123"
- Delete namespace "users"
- GetRelationTuples
--> Throws "not found"
Relevant log output
No response
Relevant configuration
No response
Version
v0.8.0
On which operating system are you observing this issue?
No response
In which environment are you deploying?
No response
Additional Context
No response