Skip to content
aj-geddes avatar

Access Control Rbac

Structured RBAC and ABAC authorization guide with Node.js, Python, and Java Spring Security implementations.

CCM score
37 of 100
skills.sh installs
770
GitHub stars
396
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers role-based and attribute-based access control, including permission models, role hierarchies, and least-privilege design
  • Includes reference guides for a Node.js RBAC system, a Python ABAC implementation, and Java Spring Security RBAC
  • Provides a quick-start Permission and Role class pattern with inherited permissions and add or remove operations
  • Designed for multi-tenant apps, enterprise access management, API authorization, admin dashboards, and compliance-driven data controls

Install

$ npx -y skills add aj-geddes/useful-ai-prompts --skill access-control-rbac -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Access Control & RBAC

Table of Contents

Overview

Implement comprehensive Role-Based Access Control systems with permissions management, attribute-based policies, and least privilege principles.

When to Use

  • Multi-tenant applications
  • Enterprise access management
  • API authorization
  • Admin dashboards
  • Data access controls
  • Compliance requirements

Quick Start

Minimal working example:

// rbac-system.js
class Permission {
  constructor(resource, action) {
    this.resource = resource;
    this.action = action;
  }

  toString() {
    return `${this.resource}:${this.action}`;
  }
}

class Role {
  constructor(name, description) {
    this.name = name;
    this.description = description;
    this.permissions = new Set();
    this.inherits = new Set();
  }

  addPermission(permission) {
    this.permissions.add(permission.toString());
  }

  removePermission(permission) {
// ... (see reference guides for full implementation)

Reference Guides

Details

Repository
github.com/aj-geddes/useful-ai-prompts
Categories
Backend & APIs, Security
First seen
Jun 3, 2026

More from aj-geddes/useful-ai-prompts

All 258

Similar to Access Control Rbac

More Backend & APIs