Nextbase Docs
Nextbase Docs
HomeBlogWelcome to Nextbase v3!Getting Started with NextBaseQuick setup
Admin Panel GuideAsynchronous Data Fetching GuideAuthenticationCreating Admin Panel PageCreating Docs PageCreating in-app notificationsCreating a new Supabase tableCreating Protected PageCreating Public Dynamic PageCreating Public Static PageHandling Realtime Data With SupabaseManaging UsersMutating Data With SupabaseOptimizing Data Operations in Next.js 14 and SupabaseRow Level SecurityStripe Setup in Nextbase UltimateWriting Integration Tests with PlaywrightWriting Unit Tests with Vitest
Guides

Row Level Security

Row Level Security in NextBase is a powerful feature that allows you to control access to rows in your database based on the user who is querying the data.

This article in the supabase website is a great start to understand how RLS works. https://supabase.com/docs/v2/guides/auth/row-level-security

RLS configured within NextBase

NextBase ships with RLS policies for tables such as organizations, organization_team_members, subscriptions, customers and more.

It also comes with RLS for storage buckets.

Setup RLS for your new tables

TODO

Optimizing Data Operations in Next.js 14 and Supabase

Learn how to efficiently fetch and mutate data in Next.js 14 and Supabase using server components, useToastMutation, and Supabase real-time APIs.

Stripe Setup in Nextbase Ultimate

This guide walks you through how Stripe has been set up in different files in Nextbase Ultimate.

On this page

RLS configured within NextBaseSetup RLS for your new tables