MDL-84884 editor_tiny: define plugin use capabilities in module context.
This commit is contained in:
@@ -27,7 +27,7 @@ defined('MOODLE_INTERNAL') || die();
|
||||
$capabilities = [
|
||||
'tiny/html:use' => [
|
||||
'captype' => 'read',
|
||||
'contextlevel' => CONTEXT_USER,
|
||||
'contextlevel' => CONTEXT_MODULE,
|
||||
'archetypes' => [
|
||||
'user' => CAP_ALLOW,
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user