MDL-66609 core_h5p: New capability h5p:setdisplayoptions

This commit is contained in:
Sara Arjona
2019-10-29 10:22:43 +08:00
committed by Andrew Nicols
parent 60bd7a8021
commit 360755cc56
3 changed files with 11 additions and 1 deletions
+9
View File
@@ -2430,4 +2430,13 @@ $capabilities = array(
'user' => CAP_ALLOW
)
),
// Set display option buttons to an H5P content.
'moodle/h5p:setdisplayoptions' => array(
'captype' => 'write',
'contextlevel' => CONTEXT_MODULE,
'archetypes' => array(
'editingteacher' => CAP_ALLOW,
)
),
);