alanning / roles-npm

A user authorization library, integrates with MongoDB back-end, ported from Meteor accounts.
MIT License
7 stars 1 forks source link

[question] any plan of making v2 of this package? #2

Open dohomi opened 5 years ago

dohomi commented 5 years ago

Just found this repo through some discussions in the MeteorJS package. Is there any plan of maintaining a v2 npm package? Thanks!

alanning commented 5 years ago

Hi Dominic, I don't have any plans at the moment to make a v2 npm package but I can help answer questions you may have on converting the meteor v2 roles package to npm if you'd like.

Basically, the conversion entails cutting out the meteor-specific assumptions that the meteor-roles package makes and requiring that the user pass the required Mongo collections in the constructor.

dohomi commented 5 years ago

@alanning thanks for your answer. For me its currently not a priority, I'm still using MeteorJS but run several different projects with gql und soon mongodb native - thats still some way to go though. I just like the v2 a lot better after I dipped into it