PR #250 · pramaan-io/pramaan-app · merged 2026-06-07
Support logs in. The firm's data shouldn't follow them home.
The on-duty badge is not a banner — it's an access shape.
A banner alone is wallpaper. The nav still invites clicks the support role cannot honour.
The fix — One badge, one strip, one filtered menu — support walks in, sees only the doors they were assigned, and starts at reception.
sequenceDiagram autonumber participant role as session role participant chrome as workspace chrome participant rail as nav rail role->>chrome: role = support chrome->>chrome: render OnDutyBanner across the workspace role->>rail: pass session rail->>rail: hide items lacking requiredPermission rail->>chrome: Settings, Help only chrome->>chrome: redirect /dashboard → /settings chrome->>chrome: suppress demo-mode banner