Create new promote action that shows modal with confirmation button and instructions to participant
Show promote action instead of check in for waitlisted participants
Disable promote action for organizers who are not check-in leads, showing PopOver message
Disable check in action for participants with WAIVER_SIGNED status, showing PopOver message
Testing
Impersonate yourself and navigate to the participants page of the admin dashboard. Make sure to grant yourself the director role!
If they don't already exist, create records of users with the ATTENDING, WAIVER_SIGNED, WAITLISTED, and ACCEPTED statuses.
Click "Check In" and ensure the modal has popped up. Then click "Confirmed". A new check-in record should show up in the database.
Ensure that you do not have access to click "Promote" and that when clicking on it, a tooltip shows up explaining why.
Now grant your UID the role of checkin_lead to allow yourself to check in people and promote applicants off the waitlist.
Click "Promote". The API call should return a 500 status code because this route updates the applicant's status to ACCEPTED and then attempts to send out an email to the applicant notifying them of their acceptance, but you do not have the API key for that.
Finishes the remaining of #340.
Changes
WAIVER_SIGNED
status, showing PopOver messageTesting
ATTENDING
,WAIVER_SIGNED
,WAITLISTED
, andACCEPTED
statuses.checkin_lead
to allow yourself to check in people and promote applicants off the waitlist.ACCEPTED
and then attempts to send out an email to the applicant notifying them of their acceptance, but you do not have the API key for that.