Users
Application member identity per organization—profile, role, status, and Firebase linkage.
Key APIs
No dedicated routes. User data is exposed through auth (/v1/auth/me) and team endpoints.
Business Rules
- Every user belongs to one
organizationId; auth middleware resolves user from Firebase UID. - Invited members start as invited until they accept; signup sets active explicitly.
- Deactivate disables access without removing the record; hard delete applies only to revoked invites.
Dependencies
- Firebase (UID stored after account exists)