Admin CRM — Setting Service Use Cases

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

Doc IDCPG-UC-CPG-CRM_UC_Setting_Service
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 Setting Service TC · CRM Setting Service 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-SVC-01 View QR Payment card in Service Management 15 Function, Security, Validation
UC-SVC-04 Toggle service status when NOT deployed (direct mode) 9 Audit, Function, Security
UC-SVC-02 Enable a blockchain (checkbox) 9 Function, Validation

Use cases

UC-SVC-01 — View QR Payment card in Service Management

  • Actor: Admin CRM user (role per RBAC)
  • Goal: View QR Payment card in Service Management
  • Primary BR (from TC): 3.1.1

Linked test cases

  • QR-001 — View QR Payment card in Service Management (Function)
  • QR-002 — Filter by Tier shows only services applicable to tier (Function)
  • QR-003 — Search service by name (Function)
  • QR-004 — Service card shows blockchain chips for enabled chains (Function)
  • QR-005 — Fees by chain displayed correctly on service card (Function)
  • QR-009 — Open Edit Service from card (Function)
  • QR-010 — Cancel button discards changes (Function)
  • QR-011 — Update Service saves successfully (Function)
  • QR-012 — Required field validation: Service Name (Validation)
  • QR-013 — Required field validation: Description (if required) (Validation)
  • QR-023 — Features field accepts comma-separated values (Function)
  • QR-024 — Features trims spaces and removes empty items (Validation)
  • QR-025 — Features supports unicode (Function)
  • QR-026 — Prevent lost update via versioning (Function)
  • QR-027 — Read-only user cannot edit service (Security)

Representative preconditions

QR Payment configured with chains

Representative main flow

Open Services list

Expected outcome

Chips displayed for enabled chains only

UC-SVC-04 — Toggle service status when NOT deployed (direct mode)

  • Actor: Admin CRM user (role per RBAC)
  • Goal: Toggle service status when NOT deployed (direct mode)
  • Primary BR (from TC): 3.1.6

Linked test cases

  • QR-006 — Toggle service status when NOT deployed (direct mode) (Function)
  • QR-007 — Toggle service status when deployed triggers proposal flow (Function)
  • QR-008 — Toggle service status when deployed cannot bypass via direct API (Security)
  • QR-028 — User without approve cannot approve proposals (Function)
  • QR-029 — Reject proposal with reason (Function)
  • QR-030 — Apply approved proposal changes service status (Function)
  • QR-031 — Deactivation mode HARD blocks immediate usage (Function)
  • QR-032 — Audit log created for proposal submit (Audit)
  • QR-033 — Audit log created for status applied (Audit)

Representative preconditions

Proposal SUBMITTED/UNDER_REVIEW

Representative main flow

Reject action

Expected outcome

Proposal status REJECTED; reason stored; service status unchanged

UC-SVC-02 — Enable a blockchain (checkbox)

  • Actor: Admin CRM user (role per RBAC)
  • Goal: Enable a blockchain (checkbox)
  • Primary BR (from TC): 3.1.3

Linked test cases

  • QR-014 — Enable a blockchain (checkbox) (Function)
  • QR-015 — Disable a blockchain removes fee section (Function)
  • QR-016 — Fees accept decimal tx fee (%) (Function)
  • QR-017 — Fees accept fixed fee amount (Function)
  • QR-018 — Tx fee validation: negative % rejected (Validation)
  • QR-019 — Tx fee validation: over max % rejected (Validation)
  • QR-020 — Fixed fee validation: negative rejected (Validation)
  • QR-021 — Empty fee fields handling (Validation)
  • QR-022 — Multiple chain fee sections persist correctly (Function)

Representative preconditions

Edit page was opened

Representative main flow

Enter 0

Expected outcome

Value accepted; stored; displayed correctly

E. ReferencesE. Tham chiếu