Merge #972: ACL revalidation honours Security:Acl:Enabled=false (no flag-off stand-downs); dead SecurityFilteringActive removed

This commit is contained in:
Joseph Doherty
2026-12-03 10:01:19 -05:00
9 changed files with 411 additions and 133 deletions
+5 -1
View File
@@ -842,7 +842,11 @@ Behaviours worth knowing before enabling it:
fan-out; restoring its authority re-attaches it. There are **two triggers**:
- a **deployment**, which re-authorizes every live monitored item (the deployment axis);
- the host's **low-frequency timer**, `Security:Acl:RevalidationIntervalSeconds` (default 60 s, `0`
disables it, inert while `Security:Acl:Enabled` is false). Without it a key that expired by the
disables it). With `Security:Acl:Enabled` false both triggers still run, but every verdict goes through
the creation gate's own seam (`Permits` → `AuthorizeIfRequired`), which bypasses local grants — so an
ungranted (e.g. Anonymous) subscription admitted with the flag off is **never** stood down by a tick or a
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). 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.