Nest Authz

screenshot of Nest Authz
nestjs

Nest.js RBAC & ABAC authorization module based on Node-Casbin, see example at: https://github.com/node-casbin/nest-authz-example

Overview:

nest-authz is an access control library for NestJS built on the powerful open-source library Casbin. It provides support for enforcing authorization based on various access control models like ACL, RBAC, ABAC. With nest-authz, developers can easily implement access control rules within their NestJS applications.

Features:

  • Access Control Models: Supports various access control models like ACL, RBAC, ABAC.
  • Integration with Casbin: Built on the efficient open-source library Casbin for enforcing authorization.
  • UsePermissions Decorator: Easy way to check permissions with @UsePermissions decorator.
nestjs
Nest

A progressive Node.js framework for building efficient, scalable, and enterprise-grade server-side applications with TypeScript/JavaScript.

typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.