The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
chore: Update the linter with the latest changes (#23434)
Ivan Vasilov52e63f2e8def
diff --git a/apps/studio/data/lint/lint-query.ts b/apps/studio/data/lint/lint-query.tsindex 5135ef2a9d7..5cc1dfc1697 100644--- a/apps/studio/data/lint/lint-query.ts+++ b/apps/studio/data/lint/lint-query.ts@@ -80,7 +80,7 @@ union all(select'auth_users_exposed' as name,- 'WARN' as level,+ 'ERROR' as level,'EXTERNAL' as facing,array['SECURITY'] as categories,'Detects if auth.users is exposed to anon or authenticated roles via a view or materialized view in the public schema, potentially compromising user data security.' as description,@@ -417,7 +417,7 @@ union all(select'policy_exists_rls_disabled' as name,- 'INFO' as level,+ 'ERROR' as level,'EXTERNAL' as facing,array['SECURITY'] as categories,'Detects cases where row level security (RLS) policies have been created, but RLS has not been enabled for the underlying table.' as description,@@ -561,7 +561,7 @@ union all(select'security_definer_view' as name,- 'WARN' as level,+ 'ERROR' as level,'EXTERNAL' as facing,array['SECURITY'] as categories,'Detects views that are SECURITY DEFINER meaning that they ignore row level security (RLS) policies.' as description,@@ -591,8 +591,8 @@ fromwherec.relkind = 'v'and (- pg_catalog.has_schema_privilege('anon', n.nspname, 'USAGE')- or pg_catalog.has_schema_privilege('authenticated', n.nspname, 'USAGE')+ pg_catalog.has_table_privilege('anon', c.oid, 'SELECT')+ or pg_catalog.has_table_privilege('authenticated', c.oid, 'SELECT'))and n.nspname not in ('auth', 'cron', 'extensions', 'graphql', 'graphql_public', 'information_schema', 'net', 'pgsodium', 'pgsodium_masks', 'pgbouncer', 'pg_catalog', 'pgtle', 'realtime', 'storage', 'supabase_functions', 'supabase_migrations', 'vault'@@ -679,8 +679,8 @@ where-- RLS is disabledand not c.relrowsecurityand (- pg_catalog.has_schema_privilege('anon', n.nspname, 'USAGE')- or pg_catalog.has_schema_privilege('authenticated', n.nspname, 'USAGE')+ pg_catalog.has_table_privilege('anon', c.oid, 'SELECT')+ or pg_catalog.has_table_privilege('authenticated', c.oid, 'SELECT'))and n.nspname not in ('_timescaledb_internal', 'auth', 'cron', 'extensions', 'graphql', 'graphql_public', 'information_schema', 'net', 'pgroonga', 'pgsodium', 'pgsodium_masks', 'pgtle', 'pgbouncer', 'pg_catalog', 'pgtle', 'realtime', 'repack', 'storage', 'supabase_functions', 'supabase_migrations', 'tiger', 'topology', 'vault'