6
RLS Should Log Rejections
Source: supabase/supabase#9214 · opened by @caseycrogers
Right now, there are situations where a request will be silently rejected by RLS. The client will receive a 200 with empty content and the server logs will report the same when what happened was the action was not executed because it violated an RLS rule. I understand the need to return a misleading 200 to prevent information leaks to malicious actors, but the lack of server logs makes it really hard to debug failing requests.
The server logs should log an error message when RLS rejects a request so that developers can quickly root cause a request that appears to succeed but produces no results.
See related issue:
The server logs should log an error message when RLS rejects a request so that developers can quickly root cause a request that appears to succeed but produces no results.
See related issue:
No pledges yet. Be the first to back this.
Comments
Similar requests
Better protection against failing to protect tables with RLS
1 vote · 0 comments
Add Feature to Test + Debug Row Level Security Policies
47 votes · 0 comments
Default RLS Policies.
3 votes · 0 comments
Move RLS verification into the policy editor, not beside it
1 vote · 0 comments
Disable RLS policies
1 vote · 0 comments
No comments yet.