we-core-acl
Simple and powerfull access control list (ACL) module exported from we.js core
Installation
npm install --save we-core-acl
Usage
Test it in your browser:
https://tonicdev.com/albertosouza/tonic-npm-we-core-acl
Example
var ACL = ;var acl = ; var options = config: permissions: 'fly_fast': 'title': 'Fly super fast' // roles with permissions roles: administrator: // administrators can do everything and dont need permissions name: "Administrator" bird: name: 'bird' permissions: jet: name: 'jet' permissions: 'fly_fast' acl;
License
MIT © Alberto Souza