# OptimalBits/node_acl

Access control lists for node applications

Repository: https://github.com/OptimalBits/node_acl
Canonical: https://ross.abutalabs.com/products/node_acl
Language: JavaScript
License Family: other
Last push: 2023-08-29T17:18:30+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 5498, "days_push": 1100, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2605, forks 372 (observed 2026-08-28T04:07:04.037198+00:00)

## What it is
A minimalistic access control list (ACL) library for Node.js applications, inspired by Zend_ACL. It manages users, roles, hierarchies, and resource permissions, with built-in Redis, MongoDB, and in-memory backends plus Express middleware.

## Use cases
- add role-based access control to a node app
- protect express routes with permissions middleware
- manage user roles and permissions in redis or mongodb
- restrict users from accessing other users' content
- implement hierarchical roles for an api

## When to choose
- you need flexible role/permission-based authorization in a Node.js app
- you use Express and want middleware to guard resources
- you want pluggable backends like Redis or MongoDB for storing ACLs

## When to avoid
- you need actively maintained software with ongoing commits
- you want a full-featured authorization framework like OPA or Casbin
- your project is not JavaScript/Node.js

## Facets
- artifact type: library
- maturity: maintenance
- function: authorization, middleware, auth
- domain: security, web-development, backend
- platform: -
- tags: acl, role-based-access-control, express-middleware, redis-backend, mongodb-backend, nodejs

## Member repositories
- OptimalBits/node_acl (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:04.037198+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:21:01.767066+00:00, confidence not recorded.
  - readme: https://github.com/OptimalBits/node_acl (fetched 2026-08-28T04:07:04.037198+00:00, sha 4084e9dfed6d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
