@nestjs-pipeline/casl
v0.4.3
Published
CASL authorization behavior and entity authorizer for @nestjs-pipeline/core
Readme
@nestjs-pipeline/casl
From 0.5.0 this package continues as
@cqrs-ddd/pipeline-casl. Its code, issues and releases are in ddd-cqrs, documented at aristoteliss.github.io/ddd-cqrs. NestJS applications add@cqrs-ddd/nestjs. Versions 0.1 to 0.4 of@nestjs-pipeline/caslstay on npm unchanged, and 0.4.x receives fixes only.
CASL authorization for @nestjs-pipeline/core, in two stages:
Documentation: guide · API reference · all packages
Installation
pnpm add @nestjs-pipeline/casl @nestjs-pipeline/core @casl/ability @nestjs/common @nestjs/core reflect-metadataPeers: @casl/ability ^7.0.0, @nestjs/common ^12.1.0, @nestjs/core ^12.1.0,
@nestjs-pipeline/core ^0.4.2, reflect-metadata. Node.js 22.12 or later.
Published as an ES module; a CommonJS application loads it with require(). Coming from 0.3.x, see Upgrading from 0.3.x.
License
See LICENSE and COMMERCIAL_LICENSE.txt.
