Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 3.5.3, 3.6.1, 3.7
-
Component/s: Assignment, Web Services
-
Labels:
-
Testing Instructions:
-
Affected Branches:MOODLE_35_STABLE, MOODLE_36_STABLE, MOODLE_37_STABLE
-
Fixed Branches:MOODLE_35_STABLE, MOODLE_36_STABLE
-
Epic Link:
-
Pull from Repository:
-
Pull Master Branch:
MDL-64444-master -
Pull Master Diff URL:
Description
The web service functions mod_assign_get_submissions and mod_assign_get_grades use the capability "mod/assign:grade" to check if the user can view all submissions of an assignment. This does not work in all cases: for example when the course is frozen. These web services should use the method "can_view_grades" of the assign class, that properly checks when the user can view all submissions.
Attachments
Issue Links
- has a non-specific relationship to
-
MDL-64336 When an assignment is frozen students cannot see their submission
-
- Waiting for peer review
-