Intent-Code Divergence
Medium
- Confidence
- 97% confidence
- Finding
- The migration enables RLS on sensitive tables but defines no policies, while claiming there is 'no direct user access.' In PostgreSQL, enabling RLS alone does not implement the intended access model unless the deployment also guarantees only privileged roles can access these tables; misconfigured grants or non-bypassing roles can lead to unexpected access failures or, worse, unintended exposure if assumptions about service-only access are wrong.
