1.0.11 • Published 5 years ago

js-rbac v1.0.11

Weekly downloads
9
License
-
Repository
-
Last release
5 years ago

JS-RBAC

A middleware to authorizer paths with Vault, main functions as READ, WRITE, DELETE, LIST.

Depends on

Quickstart

const rbac = new RBAC(options)
rbac.initialize();

// return bool
const granted = rbac.authorizer(headers, method, path);

Test

$ git clone git@github.com:bedu-hq/js-rbac.git
$ cd project & npm install
$ yarn build
$ yarn test

Examples

1.0.11

5 years ago

1.0.9

5 years ago

1.0.6

5 years ago