tenodi / permission

Npm package for hangling user permissions for routes based on roles.
https://www.npmjs.com/package/permission
MIT License
72 stars 22 forks source link

support multi-roles users #6

Closed carlitose closed 7 years ago

carlitose commented 7 years ago

If an user has multiple roles, we pass to it an array of users. In that case we check whether all the users in there match with roles and relative permissions.

carlitose commented 7 years ago

I didn't bump the package version, leaving to you the control on that...

tenodi commented 7 years ago

Hi, @carlitose. As I'm short on time, I invited you as a collaborator to this project.