RBAC permissions
Check permissions, not roles, at the call site — roles are just bundles of permissions that will change.
What this skill helps you build
Map roles to permissions and gate every action through one can?(user, action, resource) check instead of scattered role comparisons.
The production takeaway
Check permissions, not roles, at the call site — roles are just bundles of permissions that will change.
Inside this skill
The full skill expands these implementation areas with decisions, edge cases, prompts, tests, and framework-specific code.
Unlock the full implementation
Paid access includes the complete skill body, implementation prompt, common mistakes, production checklist, and code examples where this skill includes them.