Is there a way to take an action for a list of users based on an event?
On my app, an teacher can perform an admin action (let's say assign a reading) for a given student.
I am trying to implement something where a given action can be done for a set of users (assign the same reading to all the students in a class) without the teacher going to each individual student's page and assigning a reading.
I have the teacher-student relationship stored in a table and the contents in a separate table.
I am not clear on how to join the two and build a 1-n mapping for assignments.