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
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
PermissionandRoleclass 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 -yInstalls 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- Kubernetes Deployment768
- User Guide Creation766
- Logging Best Practices746
- Visual Regression Testing744
- Flutter Development727
- Funnel Analysis703
- E2e Testing Automation698
- Business Case Development690
- React Component Architecture687
- Docker Containerization683
- Log Analysis682
- Agile Sprint Planning681
- Security Compliance Audit677
- Gitlab Cicd Pipeline674
- Project Estimation674
- Websocket Implementation670
- Requirements Gathering666
- Image Optimization665
- Ruby Rails Application661
- Api Rate Limiting649
- Internationalization I18n649
- Information Architecture642
- Unit Testing Framework635
- Backup Disaster Recovery630
Similar to Access Control Rbac
More Backend & APIssecurity-documentationaj-geddes/useful-ai-prompts458 installsSecurity policy templates and compliance guidance covering SOC 2, GDPR, HIPAA, and incident response documentation.
security-compliance-auditaj-geddes/useful-ai-prompts677 installsSystematic audit of security controls against SOC 2, GDPR, HIPAA, PCI-DSS, and ISO 27001 requirements.
VibeSec-Skillbehisecc/vibesec-skill1.3K installsSecure coding guide covering access control, XSS, CSRF, and secret handling for web application work.
quarkus-securityaffaan-m/ecc8.6K installsQuarkus security patterns covering JWT/OIDC authentication, RBAC, Bean Validation, parameterized Panache queries, and secrets handling.