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 e021ad2083
commit f09f552385

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,