NestJS Casbin MongoDB
JSON →A NestJS module integrating Casbin with a MongoDB adapter for policy storage. Current stable version is 1.2.5, with no updates since 2021. It provides a ready-to-use module that configures Casbin with MongoDB as the policy backend, supporting model files and custom collections. Key differentiators include tight integration with NestJS dependency injection and a simple forRoot setup. Compared to alternatives like nestjs-casbin, this package specifically targets MongoDB users and avoids the need to manually configure adapters.
Resources
packagenestjs-casbin-mongodb ↗
API endpoints
full doc /v1/registry/nestjs-casbin-mongodb