CSSS / csss-site-backend

CSSS Website Backend (2024 - Present)
4 stars 0 forks source link

Digital Exam Bank #56

Open EarthenSky opened 1 month ago

EarthenSky commented 1 month ago

This is a big project, which requires creating both frontend & backend tasks.

Backend:

Frontend:

EarthenSky commented 3 weeks ago

only visible by professors

The allow option for cas authentication lets us determine which group out of a list a user is part of. Even if a user is part of several groups, we will only get the first group in that list. Luckily, we're allowed to specify mail-lists too, so we can determine if a logged-in user is a CSSS-member!

The list we should use for now is: allow=faculty,!cmpt-students,student,alumni,sfu

One possible danger is that a student who logs in as !cmpt-students one semester, may fall back to student another, and even alumni another! We might want to store a list of authentication methods over time for a user, so that a person might be able to have a badge that says "csss alumni", etc...