WebVNWrite/supabase/migrations
Gustavo Henrique Santos Souza de Miranda 5b84170a28 fix: allow profile lookup for sharing by adding RLS policy
The profiles table RLS policies only allowed users to view their own
profile, causing the share feature to fail when searching for users
by email. Added a policy allowing any authenticated user to read profiles.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-24 02:38:05 -03:00
..
20260121000000_create_profiles_and_projects.sql feat: [US-003] - Supabase schema for users and projects 2026-01-21 00:54:25 -03:00
20260123000000_add_characters_variables_to_flowchart_data.sql feat: [US-055] - Database schema update for characters and variables 2026-01-23 04:24:58 -03:00
20260123100000_add_collaboration_and_audit_trail.sql feat: [US-043] - Database schema for collaboration sessions and audit trail 2026-01-23 15:23:03 -03:00
20260123200000_add_collaboration_sessions_unique_constraint.sql feat: [US-045] - Supabase Realtime channel and connection management 2026-01-23 15:28:23 -03:00
20260124000000_fix_rls_infinite_recursion.sql fix: resolve infinite recursion in RLS policies 2026-01-23 20:11:58 -03:00
20260124100000_allow_profile_lookup_for_sharing.sql fix: allow profile lookup for sharing by adding RLS policy 2026-01-24 02:38:05 -03:00