Files
edr-platform/apps/edr-freight-web/backoffice/src
ghost2023 503ea30f58 feat(overview): resolve dashboard layout from permissions, not role keys
role-dashboards.config.ts's ROLE_LAYOUTS was a hand-typed table of ~40
raw role/position keys (including edr_freight_app/xxx ad-hoc
sub-positions), matched against the user's held keys client-side.
Replaced with resolveOverviewLayout(), which just picks the
highest-priority key out of whatever GET /overview/layouts returns —
the same 'server filters by permission, frontend renders what comes
back' shape Reports already uses, so the frontend no longer needs to
know any individual permission key.

Hard cutover: no fallback to the old key table. Positions not covered
by the previous commit's grants (the ad-hoc department sub-positions)
will render the executive layout until granted a layout permission.
2026-08-21 15:43:44 +03:00
..
2026-08-12 07:53:05 +00:00
2026-07-10 11:25:59 +00:00
2026-07-10 11:25:59 +00:00
2026-07-11 05:49:10 +00:00
2026-08-12 12:28:37 +00:00
2026-07-23 06:21:51 +00:00
2026-07-10 11:25:59 +00:00
2026-07-10 11:25:59 +00:00
2026-05-12 15:17:16 +03:00
2026-08-10 12:00:29 +03:00
2026-08-21 09:25:21 +00:00
2026-08-20 11:33:19 +00:00
2026-08-10 12:00:29 +03:00
2026-07-16 08:52:29 +00:00