Fixed the context level for 'mod/customcert:manage' in db/access.php

This commit is contained in:
Mark Nelson 2017-02-01 17:39:20 +08:00
parent 5bed5517e6
commit 7e6fa8103f

View file

@ -52,7 +52,7 @@ $capabilities = array(
'mod/customcert:manage' => array(
'captype' => 'write',
'contextlevel' => CONTEXT_COURSE, CONTEXT_SYSTEM,
'contextlevel' => CONTEXT_MODULE,
'archetypes' => array(
'teacher' => CAP_ALLOW,
'editingteacher' => CAP_ALLOW,