3 KiB
3 KiB
Customer administration, suspension and incidents
Scope: admin user lists/details/essentials, search, updateUserSuspension, user incidents/negativity and authorized operational customer views.
| ID | Priority | Action / input | Expected result |
|---|---|---|---|
| CUSTOMER-01 | P1 | Admin lists/searches customer and opens detail. | Supported region association and correct customer identity/order statistics. |
| CUSTOMER-02 | P1 | Exact/partial mobile/email/name, empty/no-match search. | Accurate safe results; no confusion between label and customer ID. |
| CUSTOMER-03 | P0 | Suspend U1, then place order with existing customer token. | Server blocks; browsing/history behavior follows policy. |
| CUSTOMER-04 | P0 | Unsuspend U1, retry valid checkout. | Allowed again; no permanent stale suspension. |
| CUSTOMER-05 | P1 | Add incident with permitted score/note/order. | Correct user association; persisted score/note/date and authorized views agree. |
| CUSTOMER-06 | P1 | Empty/long/Unicode incident, invalid score/order/user. | Validation, no partial incident or arbitrary user note. |
| CUSTOMER-07 | P0 | Incident references another customer's/region's order. | Association and regional permissions enforced. |
| CUSTOMER-08 | P0 | B admin probes private A customer details/addresses/incidents. | Approved customer-global vs regional-data policy enforced; no unintended private data. |
| CUSTOMER-09 | P1 | Same customer has A/B orders/addresses. | Statistics/scope consistent; no one-region cursor truncation or duplicate account. |
| CUSTOMER-10 | P1 | User profile edited/soft-deleted after incident/order. | Approved history/privacy retention; no operational crash. |
| CUSTOMER-11 | P0 | Anonymous/customer sets suspension or incident score. | Denied; global identity cannot be abused by arbitrary caller. |
| CUSTOMER-12 | P1 | Concurrent suspension/unsuspension and order submit. | Committed restrictions enforced; coherent final state. |
| CUSTOMER-13 | P1 | Repeated incident submission/save response loss. | Inspect persisted state; no accidental duplicate penalty record. |
| CUSTOMER-14 | P1 | Pagination/sorting across many regional customers/orders. | No duplicates, skipped associated customers or foreign-order statistics. |
| CUSTOMER-15 | P1 | Incident does not automatically suspend customer. | No undocumented enforcement side effect; actual score/suspension distinct. |
| CUSTOMER-16 | P2 | Search slow/error, large details/history, mobile number copy/link. | Useful retry and accurate actionable data, no endless spinner. |
| CUSTOMER-17 | P0 | Admin A and Admin B search by a customer who has an order in the other region; also search a name shared by customers in both regions. | Each admin sees only customers associated with their own region (current search is order-based); no cross-region mobile/name leakage. |
Policy checkpoint: which user fields are globally visible to staff, region eligibility for suspension and score rules. Do not equate global customer identity with unrestricted private-data access.