Skip to content

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

Update row-level-security.mdx to fix aggressive bad SQL cleanup (#22746)

GaryAustin1ed6205ea2af3
diff --git a/apps/docs/content/guides/database/postgres/row-level-security.mdx b/apps/docs/content/guides/database/postgres/row-level-security.mdx
index 2475ed67604..cfd1e218542 100644
--- a/apps/docs/content/guides/database/postgres/row-level-security.mdx
+++ b/apps/docs/content/guides/database/postgres/row-level-security.mdx
@@ -362,7 +362,7 @@ Always use the Role of inside your policies, specified by the `TO` operator. For
```sql
create policy "rls_test_select" on rls_test
-using ( (select auth.uid()) = user_id );
+using ( auth.uid() = user_id );
```
Use: