Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

No access to public tables by default for `anon`

Steve Chavezb0df1901c3e4
diff --git a/docker/dockerfiles/postgres/00-initial-schema.sql b/docker/dockerfiles/postgres/00-initial-schema.sql
index a0b6303d5ec..29e32b33b94 100644
--- a/docker/dockerfiles/postgres/00-initial-schema.sql
+++ b/docker/dockerfiles/postgres/00-initial-schema.sql
@@ -20,7 +20,7 @@ grant authenticated to authenticator;
grant service_role to authenticator;
grant usage on schema public to postgres, anon, authenticated, service_role;
-alter default privileges in schema public grant all on tables to postgres, anon, authenticated, service_role;
-alter default privileges in schema public grant all on functions to postgres, anon, authenticated, service_role;
-alter default privileges in schema public grant all on sequences to postgres, anon, authenticated, service_role;
+alter default privileges in schema public grant all on tables to postgres, authenticated, service_role;
+alter default privileges in schema public grant all on functions to postgres, authenticated, service_role;
+alter default privileges in schema public grant all on sequences to postgres, authenticated, service_role;