role-based-access-control

Community

Secure multi-tier access control for apps.

Authormealpac
Version1.0.0
Installs0

System Documentation

What problem does it solve?

RBAC in modern web apps is often implemented inconsistently across backend and frontend, leading to security gaps and tangled code.

Core Features & Use Cases

  • Establish role hierarchies (admin, manager, user) and enforce access rules on tRPC procedures and React components.
  • Gate sensitive endpoints and UI elements, enabling multi-tier permissions across dashboards, data views, and admin tools.
  • Support front-end guards and backend policies that stay in sync when roles change.

Quick Start

Set up a role-aware protectedProcedure wrapper in your tRPC router and conditionally render UI elements based on user.role

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: role-based-access-control
Download link: https://github.com/mealpac/manus/archive/main.zip#role-based-access-control

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.