FR-01.04 — Account-Type Selection During Onboarding
Trigger: The user's email has been successfully verified.
The system shall present the available account types during onboarding. The user shall be able to select:
- Company
- Sales Representative
The selected account type shall determine the onboarding path and permissions that are applied to the account.
State: EMAIL_VERIFIED → ONBOARDING → ACCOUNT_TYPE_SELECTED
Acceptance Criteria:
- PASS: A verified user can choose either available account type.
- PASS: The selected account type determines the appropriate onboarding flow.
- PASS: The selected account type is stored against the user's account.
- FAIL: An unverified user can select or activate an account type.
- FAIL: A user can assign themselves an unsupported account type.
Important: Do not assign COMPANY or REP during initial registration. The user identity exists first; the platform role is established during onboarding.