rbac-permissions-builder

Define RBAC primitives with permission matrices and Express route guards.

72|15|Updated Oct 5, 2025
One-click install
npx skills add https://github.com/tan-yong-sheng/ai-vision-mcp --skill rbac-permissions-builder-tan-yong-sheng
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rbac-permissions-builder
Source: https://github.com/tan-yong-sheng/ai-vision-mcp/tree/main/.claude/skills/rbac-permissions-builder
Command: npx skills add https://github.com/tan-yong-sheng/ai-vision-mcp --skill rbac-permissions-builder-tan-yong-sheng

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Centralize and simplify access control by providing a complete RBAC scaffold with permission matrices, route guards, and policy patterns that reduce boilerplate and errors.

Core Features & Use Cases

  • Permission matrices mapping roles to actions and resources for clear authorization.
  • Express route guards and middleware to enforce permissions consistently.
  • Policy pattern and ownership utilities to model complex authorization rules.
  • UI hints and utilities to reflect permissions in the frontend and admin tools.
  • Best practices and checklists to design scalable, auditable authorization.

Quick Start

Install the RBAC scaffold and wire the provided guards and policies into your Express routes to enforce permissions across your API.

Frequently Asked Questions about rbac-permissions-builder

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement RBAC permissions in an Express backend?

To implement RBAC permissions, you can wire provided Express route guards and middleware into your API routes to consistently enforce role-based authorization. This scaffold reduces boilerplate by providing ready-made permission matrices and policy patterns.

What is the best way to model complex authorization rules and resource ownership?

The best way to model complex authorization rules is to use policy patterns and ownership utilities provided by the scaffold. These primitives allow you to define granular access control and map roles to specific resources and actions.

Can I use this RBAC scaffold to generate UI hints for frontend administration tools?

Yes, you can use this RBAC scaffold to generate UI hints. It provides utilities designed to reflect backend permissions directly within your frontend interfaces and administration workflows.

How do permission matrices map roles to actions and resources for API security?

Permission matrices map roles to actions and resources by providing a centralized RBAC scaffold for clear authorization. This structure defines granular access control primitives that enforce consistent API security across your application.

Does this RBAC scaffold provide constants and enums for defining route guards?

Yes, this RBAC scaffold provides enums and constants for defining route guards. It satisfies requirements for role mappings and middleware to enforce permission-based restrictions across your modern web apps.