stevebrownlee / learn-ops-client

Learning Platform client application for students and instructors. Tracks student data as they progress through their core and technical learning objectives.
1 stars 8 forks source link

Mark student as inactive #16

Closed stevebrownlee closed 1 year ago

stevebrownlee commented 2 years ago

Don't delete student, but inactive prevents them from showing up in cohort student list

stevebrownlee commented 2 years ago

Deactivation

  1. Add button to CohortDialog client component labeled "Deactivate"
  2. Perform PUT operation to /students/n/deactivate
  3. That custom action should toggle the corresponding User is_active property to False
  4. Respond with 204 if successful