DSC-McMaster-U / Gamified-Learning-Platform

MIT License
6 stars 14 forks source link

Implemented Role Based Access - STILL NEEDS fixing/testing #111

Closed angadk4 closed 6 months ago

angadk4 commented 6 months ago

Created a new system for RBAC. Essentially, individuals can now use a toggle at the top of the registration page to log in as either a teacher or student, which assigns the role of either "User" or "Teacher." Upon login, the system now uses an email query to verify whether the user is a teacher or student, and proceeds accordingly.

Changes Made:

Notes/Issues: