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

Update Version and NPM #7

Closed JREastonMarks closed 7 years ago

JREastonMarks commented 7 years ago

Hi, Thank you for creating this great package and making my coding life much easier.

ISSUE The source code currently in NPM is not the same as the one in this repo. Both versions say 1.0.4 but the code in NPM does not support user.role as an array while the code in the GitHub Repo does.

WORKAROUND I was able to work around this issue temporarily by doing the following:

npm install https://github.com/tenodi/permission

Thanks!

mylastore commented 7 years ago

yes please UPDATE

czytelny commented 7 years ago

I bumped the version in the repository but, don't have rights to do so on npm...

JREastonMarks commented 7 years ago

@tenodi Could you update NPM?

Thanks!

tenodi commented 7 years ago

Will do so now.

tenodi commented 7 years ago

Done.

Sorry that I wasn't very active until now. I'm here now and will be checking this regularly.