Skip to content

v0.7.26 — Scoped identities & governance audit (#50)

Choose a tag to compare

@fahdi fahdi released this 13 Jul 14:24
· 2576 commits to main since this release

Adds free-tier access-control on top of the existing governance filters.

  • Persisted per-ability/domain/operation toggles (wpmcp_governance option) composed as narrowing layers with the existing filters; any disable wins, stored enable can never force an ability back on.
  • Scoped identities (wpmcp_identities): named identities with domain/operation/ability allowlists, enforced in the Registrar permission gate ANDed AFTER current_user_can() so identity scope can only narrow access, never escalate. Unknown identity = default-deny.
  • Audit log records acting identity + ability + allow/deny outcome (capped, injectable clock).
  • +53 tests (1255 total); the 8 original governance tests pass unmodified. free/pro/lint green, safety core untouched.

Closes #50.