Im making a user management system in NodeJS using express, passport, postgres and sequelize. User will be able to login, signup etc like simple user management system and after that I want to add roles as well to it, so that a certain user has permissions to make limited changes according to his/her role. How should I achieve the following.
I'm stuck at making a Strategy for local signup and signin using sequelize so that we access database and add the entry to it. Can someone share the syntax and explain me in simple terms how to do it?!
via Uday Saini
No comments:
Post a Comment