Skip to content

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

docs(database): correct the dashboard_user and storage admin role descriptions (#50274)

Miranda Limonczenko15a7b0ab18c0
diff --git a/apps/docs/content/guides/database/postgres/roles.mdx b/apps/docs/content/guides/database/postgres/roles.mdx
index bcfba68a6b4..5e57b21f01d 100644
--- a/apps/docs/content/guides/database/postgres/roles.mdx
+++ b/apps/docs/content/guides/database/postgres/roles.mdx
@@ -109,7 +109,7 @@ Used by the Auth middleware to connect to the database and run migration. Access
### `supabase_storage_admin`
-Used by the Auth middleware to connect to the database and run migration. Access is scoped to the `storage` schema.
+Used by the Storage middleware to connect to the database and run migration. Access is scoped to the `storage` schema.
### `supabase_etl_admin`
@@ -125,7 +125,7 @@ This role:
### `dashboard_user`
-For running commands via the Supabase UI.
+The Supabase Dashboard doesn't connect as this role. Queries you run in the Dashboard execute as `postgres` and include a `-- source: dashboard` comment, which you can use to [find them in the Postgres logs](/docs/guides/troubleshooting/how-to-interpret-and-explore-the-postgres-logs-OuCIOj).
### `supabase_admin`
diff --git a/apps/studio/components/interfaces/QueryPerformance/QueryPerformance.constants.ts b/apps/studio/components/interfaces/QueryPerformance/QueryPerformance.constants.ts
index 1db7baf5732..ccee8f5d856 100644
--- a/apps/studio/components/interfaces/QueryPerformance/QueryPerformance.constants.ts
+++ b/apps/studio/components/interfaces/QueryPerformance/QueryPerformance.constants.ts
@@ -55,9 +55,13 @@ export const QUERY_PERFORMANCE_ROLE_DESCRIPTION = [
{
name: 'supabase_storage_admin',
description:
- 'Used by the Auth middleware to connect to the database and run migration. Access is scoped to the storage schema.',
+ 'Used by the Storage middleware to connect to the database and run migration. Access is scoped to the storage schema.',
+ },
+ {
+ name: 'dashboard_user',
+ description:
+ 'The Supabase Dashboard doesn\'t connect as this role. Dashboard queries execute as postgres and include a "-- source: dashboard" comment.',
},
- { name: 'dashboard_user', description: 'For running commands via the Supabase UI.' },
{
name: 'supabase_admin',
description: