nestjsx/nest-access-control
Role and Attribute based Access Control for Nestjs 🔐 observed · 2026-08-28
Health v2 · maintenance only
58/100
- Activity 58
- Release rhythm 35
- Longevity 100
Flags: no_releases
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: 3026
- days_rel: n/a
- days_push: 252
- n_releases_24m: 0
Adoption not part of the score
1158 stars · 81 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A NestJS module providing role- and attribute-based access control (RBAC/ABAC), built on top of onury's accesscontrol library. It offers decorator-based route guards, a RolesBuilder for defining grants, role inheritance, and attribute filtering.
Use cases
- add role-based permissions to a NestJS API
- restrict route access with decorators and guards
- filter response data by allowed attributes per role
- define hierarchical roles with inherited permissions
- control access to own vs any resources
- load permission grants from a database
When to choose
- you use NestJS and need fine-grained role/attribute authorization
- you want decorator-based guards with an ACGuard out of the box
- you need role inheritance and attribute-level filtering in-memory
When to avoid
- you're not using the NestJS framework
- you need policy-as-code or external authorization services like OPA
- you need permissions persisted and evaluated at database level
Facets
library · maturity active
authorization middleware backend web-development security developer-tools nestjs rbac access-control decorators guards permissions nodejs typescript
2 sources
- readme: https://github.com/nestjsx/nest-access-control · fetched 2026-08-28 · 9e944ce7fc2d
- registry_npm: https://registry.npmjs.org/nest-access-control · fetched 2026-08-29 · 0f3eced39c63
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| nestjsx/nest-access-control | main | 58 |
For agents
markdown · JSON · MCP: product_card(name="nestjsx/nest-access-control")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem