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
@@ -51,7 +51,7 @@ $capabilities = [
],
'tiny/recordrtc:use' => [
'captype' => 'read',
'contextlevel' => CONTEXT_USER,
'contextlevel' => CONTEXT_MODULE,
'archetypes' => [
'user' => CAP_ALLOW,
],
@@ -24,6 +24,6 @@
defined('MOODLE_INTERNAL') || die();
$plugin->version = 2025021700;
$plugin->version = 2025031400;
$plugin->requires = 2024100100;
$plugin->component = 'tiny_recordrtc';