-
Bug
-
Resolution: Fixed
-
Major
-
3.2
-
MOODLE_32_STABLE
-
MOODLE_32_STABLE
-
MDL-56583-master -
When rendering new assignment grading interface there's a parameter that shows the teacher whether the user can edit its own submission or not. This cause that mobile and website not having the same status.
For WS the condition involves:
$showedit = $showlinks &&
|
($this->is_any_submission_plugin_enabled()) &&
|
$this->can_edit_submission($user->id);
|
For Web views (including: assign_submission_status and assign_submission_status_compact).
if ($this->can_view_submission($userid)) {
|
$showedit = $this->submissions_open($userid) && ($this->is_any_submission_plugin_enabled());
|
}
|
I think the problem is on WS. can_edit_submission function says: Capability check to make sure this grader can edit this submission. So it's not about the user to edit its own submission.
It probably needs some backporting.
Thanks barbararamiro for spotting that! :-D
- blocks
-
MOBILE-1839 Can edit submission status is not using the correct field
-
- Closed
-