MDL-53477 tool_lp: Register coursecompetencymanage as module capability
[moodle.git] / admin / tool / lp / db / access.php
index 5d1829c..28a009e 100644 (file)
@@ -65,7 +65,7 @@ $capabilities = array(
     ),
     'tool/lp:coursecompetencyconfigure' => array(
         'captype' => 'write',
-        'contextlevel' => CONTEXT_COURSE,
+        'contextlevel' => CONTEXT_MODULE,
         'archetypes' => array(
             'manager' => CAP_ALLOW
         ),