Client access + admin controls for commissions, variation previews, and invoices.
How Login Works
Local prototype: users are stored in this file. Admin can view/edit all clients. Client users only see clients in their allowedClientIds. Session is stored in sessionStorage.
Production recommendation: put Cloudflare Access in front of this site and remove hardcoded passwords.
Create/update commissions and client-visible info from one place.
Login explanation: Admin users can edit all clients and commissions. Client users only see commissions for client IDs listed in that user account. Changes here are saved to local browser storage.