{"adoption": {"forks": 81, "observed_at": "2026-08-28T04:03:48.385117+00:00", "stars": 1158}, "canonical_url": "https://ross.abutalabs.com/products/nest-access-control", "card": {"archived": false, "artifact_type": "library", "description": "Role and Attribute based Access Control for Nestjs 🔐", "domain": ["backend", "web-development", "security", "developer-tools"], "enriched": true, "function": ["authorization", "middleware"], "health_score": 55, "homepage": null, "language": "TypeScript", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["nestjsx/nest-access-control"], "name": "nestjsx/nest-access-control", "platform": [], "pushed_at": "2025-12-24T13:02:43+00:00", "repo": "nestjsx/nest-access-control", "stars": 1158, "tags": ["nestjs", "rbac", "access-control", "decorators", "guards", "permissions", "nodejs", "typescript"], "topics": ["nestjs", "typescript", "addon", "helper", "access-control", "permissions"], "urls": [], "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"], "what_it_is": "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.", "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"], "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"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/nest-access-control", "repo": "nestjsx/nest-access-control", "role": "main", "score": 58}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:03:48.385117+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T06:31:58.258105+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9e944ce7fc2dfc2e0a79c44106264efffae3e12cfd4cc1e6f3d7ae8862fa433d", "fetched_at": "2026-08-28T04:03:48.385117+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nestjsx/nest-access-control"}, {"content_hash": "0f3eced39c637183f82d6c994156764e71b7f7c2157c472b3ee47faced0b34e5", "fetched_at": "2026-08-29T12:37:08.577280+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/nest-access-control"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:03:48.385117+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T06:31:58.258105+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9e944ce7fc2dfc2e0a79c44106264efffae3e12cfd4cc1e6f3d7ae8862fa433d", "fetched_at": "2026-08-28T04:03:48.385117+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nestjsx/nest-access-control"}, {"content_hash": "0f3eced39c637183f82d6c994156764e71b7f7c2157c472b3ee47faced0b34e5", "fetched_at": "2026-08-29T12:37:08.577280+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/nest-access-control"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T06:31:58.258105+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9e944ce7fc2dfc2e0a79c44106264efffae3e12cfd4cc1e6f3d7ae8862fa433d", "fetched_at": "2026-08-28T04:03:48.385117+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nestjsx/nest-access-control"}, {"content_hash": "0f3eced39c637183f82d6c994156764e71b7f7c2157c472b3ee47faced0b34e5", "fetched_at": "2026-08-29T12:37:08.577280+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/nest-access-control"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:03:48.385117+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:03:48.385117+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:03:48.385117+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T06:31:58.258105+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9e944ce7fc2dfc2e0a79c44106264efffae3e12cfd4cc1e6f3d7ae8862fa433d", "fetched_at": "2026-08-28T04:03:48.385117+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nestjsx/nest-access-control"}, {"content_hash": "0f3eced39c637183f82d6c994156764e71b7f7c2157c472b3ee47faced0b34e5", "fetched_at": "2026-08-29T12:37:08.577280+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/nest-access-control"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:03:48.385117+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:03:48.385117+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T06:31:58.258105+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9e944ce7fc2dfc2e0a79c44106264efffae3e12cfd4cc1e6f3d7ae8862fa433d", "fetched_at": "2026-08-28T04:03:48.385117+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nestjsx/nest-access-control"}, {"content_hash": "0f3eced39c637183f82d6c994156764e71b7f7c2157c472b3ee47faced0b34e5", "fetched_at": "2026-08-29T12:37:08.577280+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/nest-access-control"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:03:48.385117+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:03:48.385117+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:03:48.385117+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T06:31:58.258105+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9e944ce7fc2dfc2e0a79c44106264efffae3e12cfd4cc1e6f3d7ae8862fa433d", "fetched_at": "2026-08-28T04:03:48.385117+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nestjsx/nest-access-control"}, {"content_hash": "0f3eced39c637183f82d6c994156764e71b7f7c2157c472b3ee47faced0b34e5", "fetched_at": "2026-08-29T12:37:08.577280+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/nest-access-control"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:03:48.385117+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:03:48.385117+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T06:31:58.258105+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9e944ce7fc2dfc2e0a79c44106264efffae3e12cfd4cc1e6f3d7ae8862fa433d", "fetched_at": "2026-08-28T04:03:48.385117+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nestjsx/nest-access-control"}, {"content_hash": "0f3eced39c637183f82d6c994156764e71b7f7c2157c472b3ee47faced0b34e5", "fetched_at": "2026-08-29T12:37:08.577280+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/nest-access-control"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T06:31:58.258105+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9e944ce7fc2dfc2e0a79c44106264efffae3e12cfd4cc1e6f3d7ae8862fa433d", "fetched_at": "2026-08-28T04:03:48.385117+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nestjsx/nest-access-control"}, {"content_hash": "0f3eced39c637183f82d6c994156764e71b7f7c2157c472b3ee47faced0b34e5", "fetched_at": "2026-08-29T12:37:08.577280+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/nest-access-control"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T06:31:58.258105+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9e944ce7fc2dfc2e0a79c44106264efffae3e12cfd4cc1e6f3d7ae8862fa433d", "fetched_at": "2026-08-28T04:03:48.385117+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nestjsx/nest-access-control"}, {"content_hash": "0f3eced39c637183f82d6c994156764e71b7f7c2157c472b3ee47faced0b34e5", "fetched_at": "2026-08-29T12:37:08.577280+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/nest-access-control"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T06:31:58.258105+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9e944ce7fc2dfc2e0a79c44106264efffae3e12cfd4cc1e6f3d7ae8862fa433d", "fetched_at": "2026-08-28T04:03:48.385117+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nestjsx/nest-access-control"}, {"content_hash": "0f3eced39c637183f82d6c994156764e71b7f7c2157c472b3ee47faced0b34e5", "fetched_at": "2026-08-29T12:37:08.577280+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/nest-access-control"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 58, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["no_releases"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3026, "days_push": 252, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 58, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}