mongodb-rbac-middleware

Community

Manage secure, edge-compatible role-based access control.

Authormrlynn
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a robust implementation of RBAC with edge-safe JWT handling for Next.js applications.

Core Features & Use Cases

  • Role-based Route Protection: Secures sensitive pages and APIs based on user roles.
  • Edge-compatible Authentication: Uses getToken() to safely decode JWTs in middleware environments.
  • Use Case: Protect admin dashboards so only authorized super_admin and admin users can access them, while allowing public access to certain pages.

Quick Start

Use this Skill to implement role-based security in your Next.js app for administrative and sensitive routes.

Dependency Matrix

Required Modules

None required

Components

referencesassets

💻 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: mongodb-rbac-middleware
Download link: https://github.com/mrlynn/claude-skills/archive/main.zip#mongodb-rbac-middleware

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