Phase 1 · erp-auth-org
Multi-tenant org, RBAC, branches
18%
Supabase Auth + vendor/admin routes — no Prisma Organization/Branch ERP model; partner KYC on /admin/partners.
Gaps (4)
- No per-pharmacy Organization tenant in hospitalnode
- Branch hierarchy + user_branch_access
- Staff permission catalog (pharmacist vs cashier vs prescriptions:verify)
- PlatformAdmin identity separate from org staff