26 lines
2.6 KiB
Markdown
26 lines
2.6 KiB
Markdown
# Global, regional and bound constants
|
|
|
|
Scope: common discovery, superadmin constants/region/bound settings, regional admin customization. Authoritative discovery currently requires `boundId`.
|
|
|
|
| ID | Priority | Action / input | Expected result |
|
|
|---|---|---|---|
|
|
| CFG-01 | P0 | Fresh web/native discovery with valid A1 bound. | Sends correct `{ boundId }`; flat config/assets/version fields load. |
|
|
| CFG-02 | P0 | Change A1 fee/threshold then select A2 address. | Quote uses selected address's bound; no borrowed A1 fee. |
|
|
| CFG-03 | P1 | Change A support/welcome/flash setting; browse A/B. | Region-wide A propagation; B unchanged. |
|
|
| CFG-04 | P1 | Superadmin changes app version/store URLs. | Global fields propagate to all appropriate clients. |
|
|
| CFG-05 | P0 | Admin attempts global/legacy-global mutation. | Denied; no bypass through deprecated endpoint. |
|
|
| CFG-06 | P0 | Write bound key through region endpoint, region key through bound endpoint. | Scope validation rejects; no stray row in wrong table. |
|
|
| CFG-07 | P1 | Boolean true/false strings, numeric zero, null, empty and invalid values. | Agreed typed parsing/fallback; no NaN/undefined or truthy 'false'. |
|
|
| CFG-08 | P1 | Negative fee/threshold, absurd values and unexpected key. | Domain/schema constraints applied; no invalid published quote. |
|
|
| CFG-09 | P0 | Admin A passes B1 bound ID. | Forbidden; B1 constants untouched. |
|
|
| CFG-10 | P1 | Missing bound/key, invalid ID or empty update. | Clear response/fallback; no arbitrary default region. |
|
|
| CFG-11 | P1 | Bulk edit has one invalid key. | Approved atomicity; rejected batch does not partially apply valid keys. |
|
|
| CFG-12 | P1 | Rapid edits in A and B within cache debounce. | Both final values publish; region job not overwritten. |
|
|
| CFG-13 | P1 | Cold/open clients after config update. | DB, KV and client converge within deadline and correct query key. |
|
|
| CFG-14 | P1 | Remove/corrupt bound KV entry in sanctioned staging. | Rebuild/fallback coherent; no other bound's config reused. |
|
|
| CFG-15 | P1 | Active-bound priority changes while client open. | Discovery refetches appropriate bound; quote refreshed. |
|
|
| CFG-16 | P0 | Checkout sends mismatched client bound when address has a bound. | Address bound remains authoritative on server. |
|
|
| CFG-17 | P1 | Regional ordering key contains deleted/duplicate/foreign SKU IDs. | Agreed validation/filtering; safe customer list, no regional leak. |
|
|
| CFG-18 | P2 | Older app/update notice, closeability, missing store URL. | Correct update-policy display and recoverable navigation. |
|
|
|
|
Known regression: [review R1](../multi-region-i2-review.md). General minimum-order controls must not impose a minimum under current policy.
|