It was fun while it lasted, but we have to stop maintaining these repositories. We haven't used these projects for quite some time and maintaining them is becoming harder to do.
You deserve better, and for that reason we've decided to archive some repositories, which includes this one.
Feel free to fork and alter the repositories, and go forth making awesome stuff.
ACL for your aurelia application.
Simple and small. Set permissions, and then use the provided tools to verify them.
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 --forks
jspm resolve --only registry:package-name@version
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;
aurelia.use
.plugin('aurelia-acl', {
chat: ['read', 'post'],
statistics: true // grants access to all statistics
});
<template>
<chatbox allowed="{chat: 'read'}"></chatbox>
</template>
The chatbox
is only visible when acl is granted for chat.read
.
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.
Report bugs, request features, send pull requests for fixes and features and read the CONTRIBUTING.md
MIT