aurelia-acl
ACL for your aurelia application.
Simple and small. Set permissions, and then use the provided tools to verify them.
Installation
Jspm
Run jspm i aurelia-acl
from your project root.
And add following to the bundles.dist.aurelia.includes
section of build/bundles.js
:
"aurelia-acl"
If the installation results in having forks, try resolving them by running:
jspm inspect --forksjspm resolve --only registry:package-name@version
Configuration
The most basic way to configure your permissions is by passing them as an object literal. More configuration options can be found on the documentation;
aureliause ;
Usage
The chatbox
is only visible when acl is granted for chat.read
.
Documentation
You can find detailed documentation, including installation instructions over at the aurelia-acl documentation.
The changelog provides you with information about important changes made over releases.
Contributing
Report bugs, request features, send pull requests for fixes and features and read the CONTRIBUTING.md
License
MIT