Creates and syncs Dub shortlinks for Payload documents as they are published
Supabase RLS
Re-enables Row-Level Security on Supabase tables after Payload schema pushes
Installation
pnpm add @sect/payload-supabase-rls About
Supabase RLS keeps Row-Level Security turned on for a Supabase PostgreSQL database that Payload manages. When Payload syncs its schema in development, it can switch RLS off on every table, which leaves the data reachable through the Supabase API. The plugin re-enables RLS after each sync and adds deny-all policies for the anon and authenticated roles.
Payload keeps full access through its service role, so the admin panel and the REST and GraphQL APIs keep working. The trade-off is that direct Supabase client queries, Supabase Auth sign-in and realtime subscriptions are blocked, so this suits projects where Payload is the only way in.
Package info
- Package name
@sect/payload-supabase-rls- Latest version
0.1.6- Unpacked size
- 526 kB
- License
- MIT
- Weekly downloads
- 6
- Last publish
- Jan 3, 2026
Similar plugins
More in IntegrationsSearch Unsplash, Pexels and Pixabay stock images and videos from upload collections
Syncs Payload collections with Stripe customers and products, and handles Stripe webhooks
Sends localized Payload fields to Crowdin and writes translations back
Stores Payload collections, globals and versions in Amazon DynamoDB
Logs Payload users in from cookies set by an external SSO system