-
Improvement
-
Resolution: Fixed
-
Minor
-
3.11.5, 4.4
-
MOODLE_311_STABLE, MOODLE_404_STABLE
-
MOODLE_405_STABLE
-
MDL-74050-main -
As mentioned in MOBILE-3893 we should allow the user to remove submissions.
New WS name: mod_assign_remove_submission($userid)
The WS should:
- Get the instance $assign = new assign($context, $cm, $course);
- Check if the current user has permission to remove the indicated submission ($assign->can_edit_submission($userid, $USER->id))
- Then remove the submission ($assign->remove_submission($userid)), this function will return true/false
- Return a "status" field, true means success (submission was removed)
- blocks
-
MOBILE-3893 Assignment: student can't remove submissions in app
- Closed