Role-Based Access · Live Supabase Auth & RLS

Slot recovery & client portal.

Test all three access levels live: Clinic Admin sees all bookings, freed slots ready to refill, internal notes, and after-hours inquiries; Clients see only their own booked sessions; Visitors browse and book publicly.

Role 2 · Booked Patient

Client Portal

Purchased / booked client access enforced by Postgres RLS: view only your own appointments, check confirmation status, and reschedule or cancel in one click. Admin notes and other patients stay strictly invisible.

Role 3 · Public Guest

Visitor View

Unauthenticated visitor browsing treatments, clinic hours, booking a new session, or sending an after-hours quick question without creating an account.

Refill Open Slot

Book a waitlist or walk-in client into this slot