Skip to content

API - PATCH - Edit cohort #47

@Richard-Persson

Description

@Richard-Persson

Problem Description

A teacher need to be able to edit an existing cohort. This includes name, course, start and end date.

Figma

Required Changes

  • Update cohortController() with a new patch mapping
  • Add logic for removing or adding students to the cohort based on the changes getting sent in

What is the goal?

  • Make it possible to edit an existing cohort and make it possible to add or remove new students if desired.

Acceptance Criteria

  • When a cohort gets updated it should be updated for all users that is associated with that cohort

Dependencies

  • Backend:
  • Frontend:
  • Other:

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions