Commit e2ef0aa8 authored by Francois Gannaz's avatar Francois Gannaz
Browse files

capabilities: fix a mistype (Moodle does not validate)

parent 1be7bd66
......@@ -27,13 +27,12 @@ defined('MOODLE_INTERNAL') || die();
$capabilities = [
'mod/labnbook:view' => [
'captype' => 'view',
'captype' => 'read',
'contextlevel' => CONTEXT_MODULE,
'archetypes' => [
'student' => CAP_ALLOW,
'editingteacher' => CAP_ALLOW,
],
'clonepermissionsfrom' => 'moodle/course:view',
],
'mod/labnbook:addinstance' => [
'riskbitmask' => RISK_XSS,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment