0.5.1 • Published 6 years ago

role-handler-nt v0.5.1

Weekly downloads
1
License
ISC
Repository
gitlab
Last release
6 years ago

RoleHandler

Simple module that is caching roles using lokijs.

Installation

$ yarn install role-handler-nt --save

Documentation

  • inMemoryGo(arrRoles) Description : Caching the roles. @param {Array} arrRoles

    • @return {Promise}
  • check(roleLabel, module, action) * Description : Check the role

    • @param {string} roleLabel
    • @param {string} module
    • @param {string | number} action
    • @return {boolean}
0.5.1

6 years ago

0.5.0

6 years ago