Skip to main content

FR-01 — Authentication, Identity & Access Management (IAM)

Purpose

FR-01 defines how SalesFam establishes user identity, verifies account ownership, completes onboarding, manages account status, and controls access to platform resources based on the user's assigned role.

Authenticated roles:

  • Company: Authenticated merchant account.
  • Sales Representative: Authenticated promoter account.
  • SalesFam Admin: Authenticated platform operator.

Unauthenticated actor:

  • Guest: Unauthenticated visitor with access only to public functionality.

FR-01 End-to-End Flow

The intended first-time user flow is:

Sub-requirements

FRTitle
FR-01.01Account Registration
FR-01.02Account Verification
FR-01.03Verification Code Resend
FR-01.04Account-Type Selection During Onboarding
FR-01.05Company Onboarding
FR-01.06Sales Representative Onboarding
FR-01.07Login
FR-01.08Logout
FR-01.09Session Refresh
FR-01.10Forgot Password
FR-01.11Reset Password
FR-01.12Role-Based Access Control
FR-01.13Account Status Management

Related design docs: Domain Model · Database Design · API Endpoints · Security · Architecture · Implementation Plan