Owner only

Admin

Edit access for Ty. Client-side gate — not a fortress. True metrics live in the Supabase dashboard.

How this gate works

  1. Owner email is locked to tytidwellgrokbot@gmail.com in app/config.local.jsFIELDFOLIO_OWNER_EMAILS.
  2. Sign up / log in once in the app with that email (free Supabase).
  3. Come back here — we check the session email against the owner list.

No service role key in the browser (on purpose). User counts & auth logs: Supabase → Authentication / Table Editor.

Checking session…

Open app to log in

Signed in as owner:

User count: not available from the anon key (RLS). Open Supabase dashboard → Authentication → Users for the real number.

How to edit Fieldfolio

  • Site / app copy & UI: edit files under site/ and app/, rebuild dist/, redeploy.
  • Ask Boss (Cursor agent): describe the change — agent edits + redeploy prep.
  • Accounts / data: Supabase dashboard (profiles, jobs, Auth users). Run supabase/schema.sql once per project.

Owner checklist

  • Free Supabase project + schema applied
  • config.local.js on the host (URL + anon key + owner emails)
  • Static host: Netlify / Cloudflare Pages from dist/