mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-09-03 08:33:39 +00:00
The menu item was gated on the brand-new empty_return_requests:view key, which on the dev DB is held by one position (Operations Chief) — so the Director and Dispatcher who already work Container Returns two rows above it never saw the entry at all. Viewing the queue now accepts that key OR warehouse_inventory:view, the key the rest of the Imports menu runs on, in the sidebar, the route guard and the API's read routes alike. Approving and rejecting stay on the review key on their own, and the buttons come up disabled (with the reason) for a viewer who lacks it rather than firing into a 403. The dedicated keys are still there to hand out per position whenever that call gets made. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>