casbin-nest-authz
Nest.js RBAC & ABAC authorization module based on Node-Casbin, see example at: https://github.com/node-casbin/nest-authz-example
File Explorer
Download Latest Version (.zip)- ci.yml
- index.ts
- use-permissions.decorator.ts
- authz-module-options.interface.ts
- index.ts
- permission.interface.ts
- authz-api.ts
- authz-management.service.ts
- authz-rbac.service.ts
- authz.service.ts
- index.ts
- authz.constants.ts
- authz.guard.ts
- authz.module.ts
- index.ts
- types.ts
- authz.guard.spec.ts
- use-permissions.decorator.spec.ts
- .editorconfig
- .gitignore
- .npmrc
- .prettierrc
- .releaserc.json
- CHANGELOG.md
- index.ts
- jest.config.js
- LICENSE
- package.json
- README.md
- renovate.json
- tsconfig.json
- tslint.json
- yarn.lock
# Installation Guide
1. Get the code
git clone https://github.com/apache/casbin-nest-authz
Downloads the entire project code from GitHub to your computer.
cd casbin-nest-authz
Moves into the project folder you just downloaded.
2. Node.js
Easy RecommendedPrerequisites
$ npm install --save nest-authz
Downloads and installs the libraries listed in package.json.
After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
