2.1 KiB
2.1 KiB
Global stores
Scope: superadmin.globalStores, regional read-only global stores and customer visibility in all regions.
| ID | Priority | Action / input | Expected result |
|---|---|---|---|
| GSTORE-01 | P0 | Superadmin creates global store. | Global flag/null region consistent; discoverable in A/B. |
| GSTORE-02 | P1 | Edit metadata/image; inspect both customer/admin clients. | Same structural identity; both regions refresh. |
| GSTORE-03 | P0 | Regional admin tries global store edit/delete via direct ID. | Read-only restriction enforced server-side. |
| GSTORE-04 | P0 | Anonymous/customer/staff calls superadmin CRUD. | Rejected without leaking privileged data. |
| GSTORE-05 | P1 | Global store with no products, one global product, many variants. | Correct empty/list/detail states in each region. |
| GSTORE-06 | P0 | Assign global product to regional store. | Rejected; global product remains structurally global. |
| GSTORE-07 | P1 | Empty/duplicate name, malformed ID/image. | Validated; no partial global record or broken references. |
| GSTORE-08 | P0 | Delete populated global store. | Dependency policy protects products/history in all regions. |
| GSTORE-09 | P1 | Delete unused store then requery A/B. | Disappears across all intended surfaces; repeat safely fails. |
| GSTORE-10 | P1 | Region created after global store. | Global store discoverable without per-region structural duplicate. |
| GSTORE-11 | P1 | Image URL already normalized vs asset key. | Exactly one domain prefix; loaded image in every client. |
| GSTORE-12 | P1 | Concurrent edit/delete or upload failure. | Coherent record and cache outcome; no orphan published product store. |
| GSTORE-13 | P2 | Global badge/read-only affordance in regional UI. | Clear ownership and no misleading editable form. |
| GSTORE-14 | P1 | Same-name regional/global records if allowed. | Selection uses IDs, not ambiguous label or first match. |
| GSTORE-15 | P0 | Regional admin attempts to edit a global store that has an image; the edit is rejected. | Store and image object remain unchanged; the rejection happens before any asset deletion or partial write. |
Related: global products.