Task update API supports arbitrary update - must limit to reporting task completion results.

Bug #1325653 reported by Dmitri Zimine
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mistral
Fix Released
Medium
Unassigned

Bug Description

Task API allows to arbitrarily update the task status. Instead, it shall only be called for RUNNING tasks, and accept SUCCESS or FAILURE + data, and return "client error" when the client tries to update it overwise.

https://github.com/stackforge/mistral/blob/master/mistral/api/controllers/v1/task.py#L82-L87

Changed in mistral:
importance: Undecided → Medium
status: New → Confirmed
milestone: none → 0.1
Changed in mistral:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.