sails-roles
v0.1.3
Published
roles and groups system management for sails and waterline
Downloads
18
Maintainers
Readme
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