Open ThatXliner opened 9 months ago
Closed in favor of #8
Currently, students not part of a class are able to join a code because all /attend
is doing is inserting (or more accurately, upserting) a student into the attendance table with a code.
I guess we can use RLS to determine if they should be able to insert their name with that code in the first place.
Ok so @EvanZhouDev wants it so that non-attendees can join attendance. I guess we can make this instead a UI-only option of filtering attendees in the current group (and perhaps an update in the database config so that the non-attendees can be notified that their attendance didn't go through as the host only accepts those who are actually in the group)
For ensuring that the students joining the attendance are actually part of the class, etc