What Supabase Handles
Supabase is the core backend for Grouple. Itβs not just a database β it handles a significant portion of the business logic:Project Details
Authentication Flow
Row Level Security (RLS)
All tables have RLS enabled. Key patterns:- Merchants can only see/edit their own venues, leads, proposals
- Customers can only see their own enquiries and proposals
- Public can read venues and submit enquiries (anonymous)
- Service role has full access (used by Edge Functions and workers)