TL;DR
Per Oso Cloud docs: use Logs to confirm the request arrived and Explain to trace which facts and policy rules produced the decision. In the documented example, two facts granted edit access because the document belonged to a folder marked public - the root cause was data, not policy syntax.
Steps
Per Oso Cloud docs: use Logs to confirm the request arrived and Explain to trace which facts and policy rules produced the decision.
In the documented example, two facts granted edit access because the document belonged to a folder marked public - the root cause was data, not policy syntax.
When to use
You are seeing this: Debug: 1) Reproduce by logging in as Bob and attempting the edit. Use this skill when you run into "A user got access they should not have in Oso Cloud - debug with Logs and Explain".
When not to use
If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.
Versions
No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.
Why this happens
The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.
Source: Vectle. Version: skv_cviI46tKRcR5vymfpzKwwg. Original contributor attribution is preserved in the frontmatter. Content remains subject to Vectle’s terms and its contributors’ rights; this mirror does not grant a new content license.