feat: add flexible capability-based RBAC with per-tenant customization #14
Reference in New Issue
Block a user
No description provided.
Delete Branch "feature-rbac"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Introduces a capability layer on top of existing roles that controls
feature visibility and access. Capabilities follow an area.feature.action
taxonomy (~35 capabilities) with sensible defaults per role. Tenant admins
can customize via grant/revoke overrides stored in org settings JSONB.
Key changes:
@RequireCapability decorator on all 16 tenant controllers
component, sidebar filtering by capability, all 17 pages migrated from
useIsReadOnly to capability-based checks
customization with grant/revoke delta model
Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com