supabase / splinter

Supabase Postgres Linter
https://supabase.github.io/splinter/
70 stars 6 forks source link

Lint for RLS disabled but policies exist #10

Closed olirice closed 3 months ago

olirice commented 4 months ago

Proposed Lint

rls_policy_with_rls_disabled

Detects if RLS policies exist for a table but RLS has not been enabled for the table.

soedirgo commented 4 months ago

Proposed lint is for the converse (policies exists but RLS is disabled)

olirice commented 4 months ago

thanks, added in https://github.com/supabase/splinter/issues/11