From f09f552385908df1cd0c6b2de02f5bd72de91327 Mon Sep 17 00:00:00 2001 From: Mark Nelson Date: Wed, 1 Feb 2017 17:39:20 +0800 Subject: [PATCH] Fixed the context level for 'mod/customcert:manage' in db/access.php --- db/access.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/access.php b/db/access.php index 3db4317..cf61c08 100644 --- a/db/access.php +++ b/db/access.php @@ -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,