awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
nestjsx avatar

nestjsx/nest-access-control

0
View on GitHub↗
1,156 stars·81 forks·TypeScript·MIT·54 views

Nest Access Control

NestJS Access Control is a role-based and attribute-based authorization framework designed for the NestJS ecosystem. It provides a declarative system for securing application routes and resources, allowing developers to enforce granular access policies through metadata-driven decorators.

The framework distinguishes itself by supporting hierarchical role inheritance, which enables the resolution of complex permission sets by traversing parent and child role relationships. It also facilitates dynamic authorization management, allowing security rules to be loaded asynchronously from external data sources during the application bootstrap phase to ensure policies remain current.

Beyond basic route protection, the library offers attribute-level filtering to restrict read or write operations on specific resource properties. It integrates directly with the dependency injection container and the request lifecycle, providing tools to extract user identity and role information from incoming requests for both automated enforcement and manual, context-aware permission checks.

Features

  • Role-Based Access Control - Implements granular role-based access control systems for NestJS applications.
  • Attribute-Based Access Control - Enables granular data access control by restricting operations on specific fields using attribute-based policies.
  • API Endpoint Guarding - Protects API endpoints using declarative decorators to validate user permissions and resource ownership.
  • Role Inheritance Resolution - Resolves complex permission sets by traversing hierarchical parent and child role relationships.
  • Role-Based Access Control Systems - Enforces granular access policies across application endpoints using a hierarchical role-based system.
  • Route-Level Access Guards - Secures application endpoints using declarative decorators to enforce role and action-based access restrictions.
  • Authorization Modules - Provides a role and attribute-based authorization framework for the NestJS ecosystem.
  • Attribute Filtering - Restricts read or write operations on specific resource properties using attribute-level filtering.
  • Authorization Rule Loaders - Supports asynchronous loading of authorization rules from external services during application startup.
  • Dynamic Rule Management - Supports dynamic management of security rules loaded from external services.
  • Authorization Middleware - Provides declarative middleware for validating user roles and resource ownership in TypeScript applications.
  • Role & Permission Configurators - Provides tools to define hierarchical roles and manage granular permissions for application resources.
  • Authorization Policy Loading - Provides asynchronous loading of security policies from external sources during the application bootstrap phase.
  • API Metadata Decorators - Attaches security configuration to route handlers using metadata-driven decorators.
  • Request Contexts - Extracts user identity and role information from the request context for authorization checks.

Star history

Star history chart for nestjsx/nest-access-controlStar history chart for nestjsx/nest-access-control

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Frequently asked questions

What does nestjsx/nest-access-control do?

NestJS Access Control is a role-based and attribute-based authorization framework designed for the NestJS ecosystem. It provides a declarative system for securing application routes and resources, allowing developers to enforce granular access policies through metadata-driven decorators.

What are the main features of nestjsx/nest-access-control?

The main features of nestjsx/nest-access-control are: Role-Based Access Control, Attribute-Based Access Control, API Endpoint Guarding, Role Inheritance Resolution, Role-Based Access Control Systems, Route-Level Access Guards, Authorization Modules, Attribute Filtering.

Which projects share features with nestjsx/nest-access-control?

Projects with overlapping indexed features include: cerbos/cerbos — Cerbos is an open-source authorization service that provides a centralized, language-agnostic engine for managing… casbin/casbin — Casbin is an authorization library that provides a model-based engine for enforcing access control across diverse… herozhou/vue-framework-wz — vue-framework-wz is a Vue.js admin dashboard framework and modular frontend boilerplate designed for building… jeremykenedy/laravel-roles — This package provides a comprehensive authorization framework for Laravel applications, enabling the management of… spatie/laravel-permission — This is a role-based access control system for Laravel applications that manages user permissions and roles within a… heeexy/springboot-shiro-vue — SpringBoot-Shiro-Vue is a permission management framework and role-based access control system. It provides a backend…

Projects sharing features with Nest Access Control

These projects share indexed features with Nest Access Control. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • cerbos/cerboscerbos avatar

    cerbos/cerbos

    4,460View on GitHub↗

    Cerbos is an open-source authorization service that provides a centralized, language-agnostic engine for managing access control. It functions as a policy-as-code platform, allowing teams to define, test, and distribute authorization rules using declarative YAML or JSON configurations. By decoupling access logic from application code, it enables consistent permission enforcement across diverse service stacks. The project distinguishes itself through its ability to translate high-level authorization policies into native database query filters. This capability allows applications to enforce sec

    Goaccess-controlauthorizationgo
    View on GitHub↗4,460
  • casbin/casbincasbin avatar

    casbin/casbin

    19,848View on GitHub↗

    Casbin is an authorization library that provides a model-based engine for enforcing access control across diverse application environments. It decouples authorization logic from application code by using a configuration-driven approach, allowing developers to define access rules and evaluation logic independently. The system supports a wide range of access control models, including role-based, attribute-based, and relationship-based patterns, which are evaluated at runtime to determine if a subject is permitted to perform an action on a resource. The project distinguishes itself through a hig

    Goabacaccess-controlacl
    View on GitHub↗19,848
  • herozhou/vue-framework-wzherozhou avatar

    herozhou/vue-framework-wz

    4,337View on GitHub↗

    vue-framework-wz is a Vue.js admin dashboard framework and modular frontend boilerplate designed for building administrative interfaces. It provides an enterprise UI component library and a role-based access control system to manage user logins and restrict access to protected administrative routes. The framework features a command-line tool for managing optional plugin dependencies to optimize bundle size. It includes an automated navigation system that generates multi-level sidebars, breadcrumbs, and tabbed browsing interfaces based on the application routing configuration. The project cov

    Vueadminadmin-dashboardadmin-template
    View on GitHub↗4,337
  • jeremykenedy/laravel-rolesjeremykenedy avatar

    jeremykenedy/laravel-roles

    1,043View on GitHub↗

    This package provides a comprehensive authorization framework for Laravel applications, enabling the management of user roles and granular permissions through a database-driven system. It allows developers to define access levels and assign them to users, ensuring that security policies are enforced consistently across the entire application. The system distinguishes itself through a hierarchical inheritance model, where permissions automatically propagate from lower-tier roles to higher-tier roles based on a numerical level system. It includes a dedicated administrative web interface that al

    PHPaclacl-managementeloquent
    View on GitHub↗1,043
Compare all 30 related projects→

Curated searches featuring Nest Access Control

Hand-picked collections where Nest Access Control appears.
  • an open source password manager for accounts
  • Attribute-Based Access Control Libraries
  • Role-Based Access Control Libraries