ACME HQDemo work items and pages, made up for Emargen's demo. Not a real company.
Engineering / ENG-1361

Access report takes minutes for clients over 3,000 people

Project
Engineering
Type
Task
Status
Closed Duplicate
Priority
Low
Organization
Vossberg Logistik
Reporter
Marek Nowak <marek.nowak@acme-hq.example>
Assignee
Unassigned
Labels
vossbergtech-debt
Components
identity-serviceportal
Created
24 Mar 2026, 13:15 UTC
Updated
18 May 2026, 12:20 UTC
Resolved
18 May 2026, 12:20 UTC

Description

GET /api/access-report loads every person, then their role grants one person at a time, and the portal draws every person into one page before the browser can print it (portal:src/reports/AccessReport.tsx). At 3,000 people that's several minutes and a lot of memory; Vossberg has twice that. Nobody has complained yet.

Fix when we touch the report next: one query for the grants, and don't draw the whole organisation at once.

Linked issues

Comments (2)

Ana Ruiz · 22 Apr 2026, 09:25 UTC

Vossberg hit it (SUP-768): their whole report hangs the browser. Piet is making their PDF on a workstation for now.

Marek Nowak · 18 May 2026, 12:20 UTC

The drawing part is fixed under ENG-1446; closing this as a duplicate. The one-query-for-grants part can wait until a customer hits it.