mirror of
https://github.com/supabase/supabase.git
synced 2026-12-03 23:18:57 +00:00
## Description Fixes #51206 The Realtime prompt example currently uses `USING` for an `INSERT` RLS policy. PostgreSQL requires `WITH CHECK` for validating rows being inserted. The current example therefore cannot be created as written. This change replaces `USING` with `WITH CHECK` in the `room_members_can_write` policy. ## Changes - Changed `USING` to `WITH CHECK` for the `INSERT` RLS policy. - No other documentation or behavior was changed. ## Verification - Verified the affected example against PostgreSQL RLS policy syntax. - Confirmed the change is limited to the affected `INSERT` policy. Closes #51206