# Vendor snippets — conditional/legacy **Status:** Existing routes remain, but prior product scope marked snippets out of current daily sanity. Execute only if operations restores support or approves security coverage. Do not mark unsupported UI paths PASS. Scope: admin snippet CRUD, fallback vendor page, public snippet order/slot reads and packaging. | ID | Priority | Action / input | Expected result | |---|---|---|---| | VENDOR-01 | P1 | Create A slot-specific snippet for P only; order P+Q. | Vendor sees only authorized P lines, correct noncancelled slot quantities. | | VENDOR-02 | P1 | Permanent snippet chooses supported upcoming slot. | Correct slot metadata/selection and intended authorized lines. | | VENDOR-03 | P1 | Edit SKU set/expiry/code; reopen URL. | Updated authority/data; old link policy explicit. | | VENDOR-04 | P0 | Expired/deleted/missing code or wrong slot. | No private order read or packaging authority. | | VENDOR-05 | P0 | Unrelated order-item ID in packaging mutation. | Denied; snippet URL does not authorize arbitrary item IDs. | | VENDOR-06 | P0 | A snippet uses B SKU/group/slot or reads B order. | Regional association/isolation enforced. | | VENDOR-07 | P1 | Vendor packages/unpackages permitted item. | Same state in admin/customer where intended; other items unchanged. | | VENDOR-08 | P1 | Cancelled/delivered/past orders and empty slot. | Production-demand policy correct; no cancelled quantity counted. | | VENDOR-09 | P1 | Duplicate/empty SKUs, duplicate code and invalid expiry. | Validations/deduplication; no partial snippet. | | VENDOR-10 | P1 | Same SKU multiple orders/quantities/split groups. | Correct summed demand, distinct authorized order items. | | VENDOR-11 | P1 | Permanent mode missing slot/metadata. | Useful supported selection/error, not endless loader or crash. | | VENDOR-12 | P0 | Anonymous access without valid snippet authority. | No arbitrary vendor data or mutation exposure. | | VENDOR-13 | P1 | Packaging races admin cancellation/delivery. | Legal coherent final state; cancelled order not revived. | | VENDOR-14 | P1 | Delete/update fails midway or request retried. | No partial authority expansion or duplicate relation. | | VENDOR-15 | P2 | Mobile vendor page refresh/back, long demand list. | Correct saved state, readable totals and no stale cross-slot results. | Policy checkpoint: snippet credential/expiry enforcement, PII exposure, permanent-code behavior and legal packaging transitions. Security probes require staging fixtures even though routes are public.