supabase-rls-policies
CommunityEnforce precise RLS policies in Supabase.
AuthorSaschaLeh
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Creating and applying Row Level Security policies to protect user data in Supabase PostgreSQL, ensuring per-user and per-role access with scalable, maintainable rules.
Core Features & Use Cases
- Define per-operation policies for SELECT, INSERT, UPDATE, and DELETE to control access granularity and auditability.
- Leverage auth.uid() and auth.jwt() to implement user-aware and role-based access controls.
- Support multi-tenant isolation patterns with tenant-aware policies and admin/service roles.
- Optimize performance with carefully indexed columns and minimal per-row evaluation.
Quick Start
Define and apply RLS policies for your Supabase tables to restrict data access by user and role.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: supabase-rls-policies Download link: https://github.com/SaschaLeh/dotfiles/archive/main.zip#supabase-rls-policies Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.