prisma-rbac

Official

Secure NestJS with Prisma RBAC

Authorcromesdk
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill streamlines the implementation and repair of Role-Based Access Control (RBAC) in NestJS applications using Prisma, ensuring robust security for user authentication and authorization.

Core Features & Use Cases

  • RBAC Model Implementation: Sets up Prisma schema models for Users, Groups, Roles, and Permissions, along with their join tables.
  • JWT Authentication & Refresh Token Rotation: Integrates JWT-based authentication and implements secure refresh token rotation with session management.
  • Permission-Guarded Endpoints: Enables protection of API routes based on defined user permissions.
  • Use Case: When a developer needs to add granular access control to a NestJS backend, ensuring only authorized users can access specific API endpoints based on their assigned roles and permissions.

Quick Start

Apply the prisma-rbac skill to your existing NestJS + Prisma backend to implement role-based access control and secure API endpoints.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 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: prisma-rbac
Download link: https://github.com/cromesdk/ai-skills/archive/main.zip#prisma-rbac

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 223,000+ vetted skills library on demand.