MDL-84884 editor_tiny: define plugin use capabilities in module context.

This commit is contained in:
Paul Holden
2025-03-18 14:33:20 +00:00
parent c64e967ce6
commit 743bfcbc28
20 changed files with 37 additions and 37 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ defined('MOODLE_INTERNAL') || die();
$capabilities = [
'tiny/html:use' => [
'captype' => 'read',
'contextlevel' => CONTEXT_USER,
'contextlevel' => CONTEXT_MODULE,
'archetypes' => [
'user' => CAP_ALLOW,
],