Files
WRNexusJS/docs
ClintchizandClaude Opus 5 d6a2d05407 docs: hoist the deny set and document permissionsFor's limits
Two issues the Task 6 re-review raised against the fix diff.

permissionsFor rebuilt the deny Set inside its loop over granted entries,
making it O(grants x denies) allocations on a per-request path. Measured
632ms at 4000x4000, ~100% of it in repeated Set construction. Hoisted.

permissionsFor also only half-delivers on "the obvious composition agrees
with decide()". A narrow deny beneath a broad grant is not representable in
a Set of strings - the set keeps post:* while decide() correctly refuses
post:delete - so callers that match against the set would offer actions the
server rejects. Documented the limit on the interface and pointed callers at
decide()/can()/filterCan() for per-action gating.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-04 18:09:34 +05:30
..
2026-08-01 01:09:58 +05:30
2026-07-22 17:29:08 +05:30
2026-07-27 12:42:18 +05:30
2026-07-22 17:29:08 +05:30
2026-07-29 12:51:10 +05:30
2026-07-29 12:51:10 +05:30
2026-08-02 23:18:51 +05:30
2026-07-27 12:42:18 +05:30
2026-08-02 23:18:51 +05:30
2026-08-02 23:18:51 +05:30
2026-08-02 23:18:51 +05:30
2026-08-02 23:18:51 +05:30
2026-08-02 23:18:51 +05:30
2026-08-02 23:18:51 +05:30
2026-07-22 17:29:08 +05:30
2026-07-27 12:42:18 +05:30
2026-07-22 17:29:08 +05:30
2026-07-27 12:42:18 +05:30
2026-08-03 19:47:30 +05:30
2026-08-04 12:19:09 +05:30