@konmuc/authz
v1.0.0
Published
Authorization layer for konmuc website.
Downloads
1
Readme
authz
The authorization layer for the konmuc website.
Warning: This is work in progress
@konmuc/authz has the following features:
- Provides an express middleware for authorize apis.
- Comes with a flexible RBAC (Role based access control) mechanismn.
Installation
To use this package in an express application, execute the following command:
npm install @konmuc/authz --save
Before continuing it is recommended to install also the following express packages:
npm install express body-parser mongoose --save
Usage
TODO
Testing
The @konmuc/authz package use intern
as test runner.
To run the tests first run
npm install
Then execute in a bash
npm run test