Skip to content

CheaterScript/egg-casbin

Repository files navigation

egg-casbin

NPM version build status Test coverage David deps Known Vulnerabilities npm download

Install

$ npm i egg-casbin --save

Usage

// {app_root}/config/plugin.js
exports.casbin = {
  enable: true,
  package: 'egg-casbin',
};

Configuration

// {app_root}/config/config.default.js
exports.casbin = {
};

see config/config.default.js for more detail.

Example

Questions & Suggestions

Please open an issue here.

License

MIT

About

Casbin plugin for Egg.js.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published