Socket
Socket
Sign inDemoInstall

aurelia-acl

Package Overview
Dependencies
9
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    aurelia-acl

An ACL plugin to use with aurelia.


Version published
Weekly downloads
7
increased by16.67%
Maintainers
1
Install size
5.32 MB
Created
Weekly downloads
 

Readme

Source

aurelia-acl

Gitter

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 --forks
jspm 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;

aurelia.use
   .plugin('aurelia-acl', {
     chat: ['read', 'post'],
     statistics: true // grants access to all statistics
   });

Usage

<template>
  <chatbox allowed="{chat: 'read'}"></chatbox>
</template>

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

Keywords

FAQs

Last updated on 01 Jun 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc