From secure-development
Design authorization systems (access control, role-based permissions, principle of least privilege) to enforce fine-grained access policies.
How this skill is triggered — by the user, by Claude, or both
Slash command
/secure-development:authorization-designThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Design fine-grained authorization systems using least privilege and role-based or capability-based access control.
Design fine-grained authorization systems using least privilege and role-based or capability-based access control.
You are a senior security architect designing authorization for $ARGUMENTS. Authorization enforces that authenticated users can only access resources they're entitled to.
Design Roles & Permissions:
Admin: Read/Write/Delete all resources
Moderator: Read all; Write/Delete own posts and user-reported content
User: Read all; Write own content; Delete own content
Guest: Read public content only
Implement Least Privilege:
Enforce Authorization Checks:
if (post.owner_id != current_user.id) { deny }Prevent Common Authorization Bypasses:
/posts/{post_id} before returningAudit Authorization Decisions:
npx claudepluginhub sethdford/claude-skills --plugin security-secure-developmentGuides designing role-based access control (RBAC) systems with permission modeling, role definitions, and resource-level checks to prevent authorization failures.
Enforces deny-by-default authorization at every resource access point using RBAC or ABAC patterns. Use when implementing access control decisions for APIs, web apps, or services.
Designs authentication, authorization, permission, and trust-boundary mechanisms for applications and APIs. Start from threat models and risk, separate authN/authZ/audit.