row-level-security

Installation
SKILL.md

Row-Level Security

Implement database-enforced access control that filters rows based on the executing user's identity and role. RLS moves authorization from application code into the database itself — every query path is protected, including direct SQL, ORMs, admin tools, and migration scripts.

Decision: Which Platform?

Platform Read When
PostgreSQL references/postgresql.md Native Postgres, any Postgres-compatible DB
Supabase references/supabase.md Supabase projects (wraps Postgres RLS + auth.uid())
SQL Server references/sql-server.md Microsoft SQL Server environments
MySQL references/sql-server.md (MySQL section at bottom) MySQL — no native RLS, uses workarounds

Read the reference for the user's platform. If unclear, ask.

Core Workflow

Step 1: Classify tables

Installs
2
GitHub Stars
1
First Seen
Apr 20, 2026
row-level-security — wbunker/skills-repo