The delete that reported success and changed nothing
01 // OBSERVED SYMPTOM
An operator deleted or edited a lead, saw the action confirmed, then found the record unchanged after refreshing.
02 // ROOT CAUSE DIAGNOSIS
Row-level security was declining the write, but a delete or update that returns no representation completes with no error object. The client received no error and inferred success. The refusal was silent by design.
03 // ARCHITECTURAL FIX
Every privileged write now appends a row-returning select, and an empty array is treated as a rejection rather than a success, raising an explicit error to the operator. Relaxing the database rules was rejected because the goal was to detect the refusal, not to stop refusing.





