MDL-37361 completion: Enabled overriding activity completion status

This commit is contained in:
Eiz Eddin Al Katrib
2017-10-10 17:10:15 +08:00
committed by Jake Dallimore
parent d8e9a23c48
commit a39918daae
22 changed files with 343 additions and 15 deletions
+9
View File
@@ -1929,6 +1929,15 @@ $capabilities = array(
'manager' => CAP_ALLOW
)
),
'moodle/course:overridecompletion' => array(
'captype' => 'write',
'contextlevel' => CONTEXT_COURSE,
'archetypes' => array(
'teacher' => CAP_ALLOW,
'editingteacher' => CAP_ALLOW,
'manager' => CAP_ALLOW
)
),
'moodle/community:add' => array(
'captype' => 'write',
'contextlevel' => CONTEXT_SYSTEM,