Re-query LDAP group membership for active sessions #46

Open
opened 2026-11-06 15:24:35 -05:00 by dohertj2 · 0 comments
Owner

Register row 23 (deferred-work register).

The mid-session role refresh re-maps the stored groups against the central DB without an LDAP call, so a directory group change lands only at next login. A live re-query needs a passwordless group-search API on the shared ZB.MOM.WW.Auth.Ldap library (currently only AuthenticateAsync(username, password, ct)). Central role-mapping/scope changes still apply within ~15 min (RoleRefreshThresholdMinutes).

Revisit trigger (from register): ZB.MOM.WW.Auth.Ldap gains a standalone group-search API, or a requirement that directory-side revocation take effect mid-session.

Current state: Blocked on the external ZB.MOM.WW.Auth package (lives in scadaproj). Auth 0.4.x added user-bind mode but no standalone group search — verify still open.
Related: docs/requirements/Component-Security.md :61-69, :78-79.

Source: docs/plans/2026-07-08-deferred-work-register.md row 23

Register row 23 (deferred-work register). The mid-session role refresh re-maps the *stored* groups against the central DB without an LDAP call, so a directory group change lands only at next login. A live re-query needs a passwordless group-search API on the shared `ZB.MOM.WW.Auth.Ldap` library (currently only `AuthenticateAsync(username, password, ct)`). Central role-mapping/scope changes still apply within ~15 min (`RoleRefreshThresholdMinutes`). **Revisit trigger (from register):** `ZB.MOM.WW.Auth.Ldap` gains a standalone group-search API, or a requirement that directory-side revocation take effect mid-session. **Current state:** Blocked on the external `ZB.MOM.WW.Auth` package (lives in scadaproj). Auth 0.4.x added user-bind mode but no standalone group search — verify still open. Related: `docs/requirements/Component-Security.md` :61-69, :78-79. Source: `docs/plans/2026-07-08-deferred-work-register.md` row 23
dohertj2 added the type:featurepriority:p3blockedcross-repomigrated labels 2026-11-06 15:24:35 -05:00
Sign in to join this conversation.