0.1.3 • Published 9 years ago

sails-roles v0.1.3

Weekly downloads
5
License
MIT
Repository
github
Last release
9 years ago

NPM version Build status Dependency Status

sails-roles

The purpose of this hooks is to provide a better user management without involving any change into your current models (exceptions on the user model of course)

This hooks offers two distinct aspects, Roles and Groups

Roles

Roles are here to determine if a user has a specific permission on a specific model / action

Groups

Groups are here to determine if a user is part of certain groups. This may seem a little bit useless, but the fact that we never change the base model of your app makes it super easy to implement groups logic on every kind of object your app contains