Duke-GCB / D4S2

Web service to facilitate notification and transfer of projects in DukeDS
MIT License
0 stars 0 forks source link

adds cancel detail route to DeliveryViewSet #178

Closed johnbradley closed 6 years ago

johnbradley commented 6 years ago

Adds /api/v2/deliveries/24/cancel/ POST endpoint that will cancel the DukeDS transfer. An email will be sent to the recipient that the delivery has been rescinded.

Adds new state CANCELED for deliveries who's transfer has been canceled. This will allow users to deliver the project to another user when the recipient is unresponsive. Adds new delivery_rescinded EmailTemplateType and fixture email.

Removes unused update_state_from_project_transfer/TransferStatusLookup code.

johnbradley commented 6 years ago

TODO: Include email to recipient that the delivery has been rescind.