USING (true)
One permissive USING (true) policy is combined with the others using OR, so every granted row leaks.
Result
Not run
select id, title, owner_id, amount, secret from lab_sandbox.invoices order by id
| Decision | Title | Fields |
|---|---|---|
| Not run | Studio invoice |
|
| Not run | Retreat invoice |
|
Policies and grants
SQL is allowed
Alice can read her invoice, including the secret. Bob's invoice stays hidden.