mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
Merge branch 'MDL-51628-master' of git://github.com/damyon/moodle
This commit is contained in:
commit
f46aa6bc42
1 changed files with 1 additions and 1 deletions
|
@ -5588,7 +5588,7 @@ class assign {
|
|||
require_once($CFG->dirroot . '/mod/assign/gradingoptionsform.php');
|
||||
|
||||
// Need submit permission to submit an assignment.
|
||||
require_capability('mod/assign:grade', $this->context);
|
||||
$this->require_view_grades();
|
||||
require_sesskey();
|
||||
|
||||
// Is advanced grading enabled?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue