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
{{ message }}
Repository navigation
Commit c50654e
Browse filesBrowse the repository at this point in the historyBrowse files
fix(security): let the admin's contract field locks bind
clm_admin held modifyAllRecords on clm_contract. Since ADR-0066's
2026-11-02 note a super-user set votes editable on every field of its
object, so the 17 stamped-field locks (routing flags, stage timestamps,
AI fields) bound no administrator; 18.3 lints it as
security-superuser-field-mask-inert.
Per the ruling on #196 (letter A, the locks win), the contract entry
now grants viewAllRecords + writeScope 'org' + allowTransfer instead:
every row readable, every row editable and deletable, owner reassign,
and no edit vote on the locked fields. The six child entries keep their
super-user bits; they lock nothing. The header comment now says a lock
binds only without modifyAll and whole-row write comes from writeScope.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017nzWFRUo2U7evMkPdVniAn
0 commit comments