seeden/rbac
Hierarchical Role Based Access Control for NodeJS observed · 2026-09-03
Health v2 · maintenance only
69/100
- Activity 74
- Release rhythm 45
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4530
- days_rel: 158
- days_push: 158
- n_releases_24m: 1
Adoption not part of the score
1005 stars · 102 forks observed · 2026-09-03
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Node.js library implementing hierarchical role-based access control (RBAC) with roles, permissions, and grant inheritance. It supports in-memory storage by default and custom storage backends via an extensible Storage class.
Use cases
- implement role-based access control in a nodejs app
- check if a user role can perform an action
- define hierarchical roles with inherited permissions
- manage user permissions and roles in an api
- add authorization middleware to express routes
- store rbac roles and grants in a custom database
When to choose
- you need hierarchical role inheritance in a Node.js application
- you want a lightweight, dependency-free RBAC library with pluggable storage
- you need simple permission checks like can(role, action, resource)
When to avoid
- you need attribute-based or policy-based access control (ABAC/ReBAC)
- you are not using Node.js or JavaScript
- you need built-in database adapters rather than writing your own storage layer
Facets
library · maturity active
authorization auth middleware security backend web-development developer-tools rbac role-based-access-control permissions hierarchical-roles access-control nodejs javascript
2 sources
- readme: https://github.com/seeden/rbac · fetched 2026-09-03 · 6424a3324499
- registry_npm: https://registry.npmjs.org/rbac · fetched 2026-08-29 · 8b2332e2bf93
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| seeden/rbac | main | 69 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem