Skip to content

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

Fix typo in RLS policy (#23428)

Jon Meyers07921b3723c6
diff --git a/apps/docs/content/guides/database/postgres/column-level-security.mdx b/apps/docs/content/guides/database/postgres/column-level-security.mdx
index 7cdc62d6c2c..6ed691e326c 100644
--- a/apps/docs/content/guides/database/postgres/column-level-security.mdx
+++ b/apps/docs/content/guides/database/postgres/column-level-security.mdx
@@ -28,7 +28,7 @@ For example, let's assume you have a `posts` table with the following columns:
You can restrict updates to just the user who created it using [RLS](/docs/guides/auth#row-level-security), with the following policy:
```sql
-create a policy "Allow update for owners" on posts for
+create policy "Allow update for owners" on posts for
update
using ((select auth.uid()) = user_id);
```
@@ -127,7 +127,7 @@ supabase migration new create_posts_table
);
-- Add row-level security
- create a policy "Allow update for owners" on posts for
+ create policy "Allow update for owners" on posts for
update
using ((select auth.uid()) = user_id);