docs(ldap): NAM plan §3.2 — no-role-no-login fixes merged (#913, #144, #145, historiangw#136), not deployed

Claude-Session: https://claude.ai/code/session_01GT67AFKC45MBz1wPZnVbX8
This commit is contained in:
Joseph Doherty
2026-11-17 11:49:02 -05:00
parent feb5463445
commit b9d13e8856
+4 -4
View File
@@ -300,12 +300,12 @@ apps. It stays a future option.
**Every app refuses sign-in, both cookie and token, when the user's groups map to no role.** That includes the
case where the role lookup fails.
| App | Today [V] | Change |
| App | Before the fixes [V] | Change (status 2026-11-17: merged, **not deployed**) |
|---|---|---|
| MxAccessGateway | refuses (`Dashboard/DashboardAuthenticator.cs:66-70`) | none |
| HistorianGateway | refuses (`Dashboard/DashboardAuthenticator.cs:56-64`) | none |
| OtOpcUa | signs in with no roles, even when the mapper throws | **§2 (Phase A)** |
| ScadaBridge | signs in with no roles | **§2A (Phase A2)** |
| HistorianGateway | refused zero roles; a throwing mapper escaped as a 500 | historiangw#136, `f84af29`: case-insensitive `GroupToRole`, a mapper fault is refused like a bad password, both logged at Warning (`Dashboard/DashboardAuthenticator.cs`, the `MapAsync` catch and the `roles.Count == 0` branch) |
| OtOpcUa | signed in with no roles, even when the mapper threw | **§2 (Phase A)**: lmxopcua#913, `cdf433a35` |
| ScadaBridge | signed in with no roles: cookie, `/auth/token`, management HTTP Basic/Bearer | **§2A (Phase A2)**: #144 `d48e1667` (cookie, token, session refresh) + #145 `2e0ce81e` (management/CLI, audit, debug stream) |
**Consequence for the matrix:** read access now **requires** a mapped group. In OtOpcUa, `Viewer` is not checked
by any policy (pages use `AuthenticatedRead`), so a **Viewer cell means "holds a role, so may sign in and read"**.