jstroem-angular-permission
v3.0.3
Published
Fully featured role and permission based access control for your angular applications
Downloads
19
Maintainers
Readme
Permission
Fully featured role and permission based access control for your angular applications
Permission helps you gain control of your routes, by using simple concepts for you to decide who can access them. We've seen plenty of big fat tutorials on access control implementation, and they can be quite overwhelming or inconsistent. So we bring you a elastic, powerful and yet straightforward solution, that allow you provide fine-grained role and permission based access control for your application users.
Dependencies
- angular 1.4.8+ as MV* framework
- ui-router or ng-route as your router module
Installation
bower
bower install angular-permission --save
npm
npm install angular-permission --save
Webpack
var ngPerm = require('angular-permission');
angular.module('myModule', [ngPerm.permission]) //To include 'permission' module
angular.module('myModule', [ngPerm.uiPermission]) //To include 'permission.ui' module
angular.module('myModule', [ngPerm.ngPermission]) //To include 'permission.ng' module
Documentation and examples
- Managing permissions
- Managing roles
- Controlling access in views
- Usage with ui-router
- Installation
- Usage in states
- Emitted events
- Transition properties
- Usage with ng-route
- Installation
- Usage in routes
- Emitted events
- Transition properties
Migration guides
Authors
- Rafael Vidaurre - I'm a full-stack developer and musician who loves creating things of value
- Blazej Krysiak - I am a fast-minded, creative web developer seeking knowledge in innovative web technologies and cloud-based solutions.