Thursday, 12 July 2018

[Question] User permissions to access parts of webapp

I have implemented user authentication with passport.js and got it working great. However, I now need to find a way to grant different types of access for different users. For example:I have 3 sections of the site(Section1, Section2, etc.)User1 needs access to Section1 & Section2User2 needs access to Section1 onlyUser3 needs access to all sectionsI'm not sure where to start or what I would even call it(thus my google searches yielding little results). Would anyone be able to point me in the right direction with a link or npm package?Thanks in advance.

Submitted July 12, 2018 at 08:48PM by onlyslavesobey

No comments:

Post a Comment