Admin CRM — Auth Use Cases

A. Document controlA. Kiểm soát tài liệu

Doc IDCPG-UC-CPG-CRM_UC_Auth
VersionPhiên bản1.0
StatusTrạng tháiDraft
OwnerCPG BA / Architecture
AudienceĐối tượngBA, QA, Product, Frontend, Backend
ClassificationPhân loạiInternal
Effective dateNgày hiệu lực01/12/2026
Related docs CRM Auth TC · CRM Auth FSD

B. Version historyB. Lịch sử phiên bản

Version Date Author ChangesThay đổi
1.0 01/12/2026 Khoa Trinh Version 1.0

C. Table of contentsC. Mục lục

D. ContentD. Nội dung

Catalog

UC ID Name Linked TC count Categories
UC-AUTH-01 Login with valid credentials (no 2FA) 12 Function, Security, Validation
UC-AUTH-02 Login with valid credentials (2FA enabled) 1 Security
UC-AUTH-03 Forgot password 2 Function

Use cases

UC-AUTH-01 — Login with valid credentials (no 2FA)

  • Actor: Admin CRM user (role per RBAC)
  • Goal: Login with valid credentials (no 2FA)
  • Primary BR (from TC): 3.1.1

Linked test cases

Representative preconditions

None

Representative main flow

Open Sign In

Expected outcome

Remember me is unchecked by default (if design requires)

UC-AUTH-02 — Login with valid credentials (2FA enabled)

  • Actor: Admin CRM user (role per RBAC)
  • Goal: Login with valid credentials (2FA enabled)
  • Primary BR (from TC): 3.1.2

Linked test cases

  • AUTH-LOGIN-002 — Login with valid credentials (2FA enabled) (Security)

Representative preconditions

User exists, 2FA enabled

Representative main flow

Open Sign In -> Enter email/password -> Click Sign In

Expected outcome

2FA modal appears; user is NOT logged in yet

UC-AUTH-03 — Forgot password

  • Actor: Admin CRM user (role per RBAC)
  • Goal: Forgot password
  • Primary BR (from TC): 3.1.3

Linked test cases

Representative preconditions

User exists, received email with reset password link

Representative main flow

Click on Reset password link -> Enter new password -> Use new password to sign in

Expected outcome

Password change successful, Can sign in with new password

E. ReferencesE. Tham chiếu