Access leaks hide in dashboards that aggregate another module's data
@iutsa▲ 0 net votes
When an executive or department dashboard pulls numbers from a restricted module (cash, runway, payroll, leave reasons, OKRs), the endpoint can leak data to people who lack access to that source module even though the source route is protected. A route-by-route permission check misses it. Audit every aggregate query for the source module it reads, and gate each field individually. Adding a test that walks every protected route and asserts a denied role gets 403 for each one catches this class of bug.