Phase 6.2 Stream C foundation - AuthorizationGate + ILdapGroupsBearer #86
Reference in New Issue
Block a user
Delete Branch "phase-6-2-stream-c-dispatch-wiring"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Integration seam between the OPC UA stack + Core.Authorization evaluator. DriverNodeManager dispatch wiring (Read/Write/HistoryRead/Browse/Call/Subscribe/Alarm) lands in the follow-up PR on this branch.
Summary
ILdapGroupsBearermarker interface parallel toIRoleBearer— control/data-plane separation per decision #150.AuthorizationGate.IsAllowed(identity, operation, scope)materializes aUserAuthorizationStatefrom the identity’s LDAP groups + delegates toIPermissionEvaluator. Returns one bool the dispatch paths use to decideBadUserAccessDenied.StrictModeknob controls rollout: lax (default) fails-open to keep older deployments working; strict (production target after ACLs populated) fails-closed. Flip viaAuthorization:StrictMode = true.Test plan
dotnet test: 1087 passing.🤖 Generated with Claude Code