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
fix(security): profiles must grant on full object names (crm_*) (#400)
All five RBAC profiles keyed their object grants by short names (`lead`,
`account`, `case`, …) — but the declared objects are `crm_lead`, `crm_account`,
`crm_case`, … The short names reference NO existing object, so the grants relied
on the authenticated path's namespace resolution and silently applied to nothing
on the anonymous / explicit-permission-set path (the same trap that blocked
web-to-lead until #399).
Convert all profile object keys to the full `crm_*` names. Framework
objectstack/framework#1997 now makes this a hard build error
(`validateCrossReferences` rejects grants on undefined objects), so this also
keeps HotCRM green once it bumps to a release containing that check.
verify green: validation ✓, typecheck ✓, build ✓, tests 17/17.
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0 commit comments