Files
ecommerce-platform/app/src
davide d4b3398de5 fix(security): enforce order status state machine in admin endpoint
Add VALID_TRANSITIONS map and validate each status change before updating
the database. Prevents skipping payment (e.g. PENDING→FULFILLED) or
reopening closed orders.
2026-05-19 10:11:16 +02:00
..