test(opcua-acl): #1079 guard: the node manager is the only wirer of the authorizer's ImportedConditionClassifier / MappedNamespacePredicate
The #1033 flag-off revalidation fast path (IsLocalNodeUngated) answers a local Raw/UNS item allow without the authorizer, sound only while those two delegates are the node manager's own ClassifyImportedCondition / IsProjectedDescendant. Source-scan guard over src/**/*.cs (RoleAuthorityGuardTests idiom): any assignment outside OtOpcUaNodeManager.cs, or one there to another delegate, fails; non-vacuity counts the real wiring sites; a falsification test feeds offending snippets. Mutation-checked against the real tree (a rogue assignment in DataPlaneAuthorizer.cs fails it). Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
+3
-1
@@ -853,7 +853,9 @@ Behaviours worth knowing before enabling it:
|
||||
deploy; only gRPC-data projected / imported-condition items, gated in both modes, can lapse (#972 — between
|
||||
`8ad03e9c5` and the fix, the pass enforced grants with the flag off). With the flag off a local Raw/UNS item is
|
||||
answered allow before the pass's memo (#1033: a 10k-item pass ~6.5–7 ms / ~1.4 MB ⇒ ~0.5–1 ms / ~0.2 KB; the same
|
||||
shortcut in the per-request `Permits` was measured and not taken — a 1,000-node Read did not change). Without the timer a key that expired by the
|
||||
shortcut in the per-request `Permits` was measured and not taken — a 1,000-node Read did not change; it relies on the node
|
||||
manager being the only wirer of the authorizer's `ImportedConditionClassifier` / `MappedNamespacePredicate`, to its own
|
||||
delegates — source-scan guard `AuthorizerClassifierWiringGuardTests`, #1079). Without the timer a key that expired by the
|
||||
clock kept streaming until a deployment happened to land — **indefinitely** on a fleet that has been
|
||||
deployed once and left running, which is exactly the shape a production fleet settles into.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user