mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
MDL-29483 The capability to manage grading forms can be overridden at the Assignment module level
This commit is contained in:
parent
1dea75b8d1
commit
a3b37e4b6e
@ -3798,7 +3798,7 @@ function assignment_reset_course_form_defaults($course) {
|
||||
* Returns all other caps used in module
|
||||
*/
|
||||
function assignment_get_extra_capabilities() {
|
||||
return array('moodle/site:accessallgroups', 'moodle/site:viewfullnames');
|
||||
return array('moodle/site:accessallgroups', 'moodle/site:viewfullnames', 'moodle/grade:managegradingforms');
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user