supabase-rls-fix
CommunityFix and standardize RLS across apps
AuthorPrimadetaautomation
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill fixes Supabase Row Level Security (RLS) issues by ensuring proper user context, handling system processes, and providing standardized RLS templates for new and existing tables.
Core Features & Use Cases
- Missing user context handling: creates compatibility views and safe access patterns.
- System/process awareness: ensures background jobs and system tasks have appropriate visibility.
- RLS templates: ready-to-use policies and templates for new tables and common scenarios.
- Debugging helpers: quick checks to verify current user/tenant context.
Quick Start
Tell the AI to set up a compatible RLS configuration: "Create a compatibility view for user_tenants from tenant_memberships and grant SELECT to authenticated; add an is_system_process helper and universal access policy wrapper."
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-fix Download link: https://github.com/Primadetaautomation/primadata-marketplace/archive/main.zip#supabase-rls-fix 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 223,000+ vetted skills library on demand.