Web Development
Bug Report
The export route checked permissions, the queued job did not, and a manager got every team's data
Our CSV export endpoint verified the user's role, then handed the filters to a queued job that ran with no user at all. A small change to the filter format let one team manager export the whole company's shipments. How we found it and moved authorization to the data layer.