You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Goal. Scoped write roles: a fact-writer role, a decider role (claims and decision records only), and per-relation grants.
Why. An API key that may write facts must not be able to change policy (rules, drops); the component that records decisions must not write facts. Today write access is all-or-nothing per key.
Done when. Roles and per-relation grants are enforced at commit for facts, rules and drops; refusals name the missing grant; .apikey can create keys with a role; documented with a security note.
Plan reference: EN-6. Security, needed before any hosted use. Part of the Engine production readiness milestone (the current focus; tracker #199). Rule for every engine PR: millisecond query and update latency must not regress, and the perf gate runs before the PR opens.
Activity
jsam commentedon Oct 4, 2026
Done in #279 (merged, CI green): writer and decider roles, per-relation grants and scoped API keys.