Merge branch 'MDL-64528-master' of https://github.com/mackensen/moodle

This commit is contained in:
Eloy Lafuente (stronk7) 2019-01-30 21:21:26 +01:00
commit 6ada5b713b
5 changed files with 13 additions and 1 deletions

View file

@ -2460,4 +2460,13 @@ $capabilities = array(
'archetypes' => [
],
],
// Manual completion toggling.
'moodle/course:togglecompletion' => [
'captype' => 'write',
'contextlevel' => CONTEXT_MODULE,
'archetypes' => [
'user' => CAP_ALLOW,
],
],
);