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,
|
||||
],
|
||||
|
||||
@@ -25,6 +25,6 @@
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
$plugin->component = 'tiny_html';
|
||||
$plugin->version = 2025012300;
|
||||
$plugin->version = 2025031400;
|
||||
$plugin->requires = 2024100100;
|
||||
$plugin->maturity = MATURITY_STABLE;
|
||||
|
||||
Reference in New Issue
Block a user