supabase-rls
Installation
SKILL.md
Supabase Row Level Security (RLS)
Enable RLS on Table
-- Always enable RLS
ALTER TABLE projects ENABLE ROW LEVEL SECURITY;
Common Policy Patterns
User Can Only See Own Data
CREATE POLICY "Users view own data"
ON projects FOR SELECT
TO authenticated
USING (auth.uid() = user_id);