nest-authz
nest-authz copied to clipboard
Nest.js RBAC & ABAC authorization module based on Node-Casbin, see example at: https://github.com/node-casbin/nest-authz-example
Hey folks, this package does not work with nestjs v9 due to out-of-date dependencies. This PR https://github.com/node-casbin/nest-authz/pull/154 contains a fix for it, but it might require another upgrade
will nest-authz work with mongoose , typegoose and prisma ? casl v5 works only with typeorm in nestjs currently, i'm considering switching to casbin
In the documentation there is the following code: ```js import { TypeOrmModule } from '@nestjs/typeorm'; @Module({ imports: [ AuthZModule.register({ model: 'model.conf', policy: TypeORMAdapter.newAdapter({ name: 'casbin', type: 'mysql', host: 'localhost', port:...