diff --git a/db/access.php b/db/access.php index febe859c8ecf1cdbbc6244767cab9cdabd943538..3430560d29f27a17590f0db033b6786c8d4d5c92 100644 --- a/db/access.php +++ b/db/access.php @@ -8,6 +8,16 @@ $capabilities = array( + 'mod/adobeconnect:addinstance' => array( + 'captype' => 'write', + 'contextlevel' => CONTEXT_COURSE, + 'archetypes' => array( + 'editingteacher' => CAP_ALLOW, + 'manager' => CAP_ALLOW + ), + 'clonepermissionsfrom' => 'moodle/course:manageactivities' + ), + 'mod/adobeconnect:meetingpresenter' => array( 'captype' => 'read', @@ -35,4 +45,4 @@ $capabilities = array( ) ), -); \ No newline at end of file +); diff --git a/version.php b/version.php index 3a86e2acb61e2756ddc45557973864a8980c30b1..76bb43a15b62936184644b7e9726f3af62b4523f 100644 --- a/version.php +++ b/version.php @@ -7,7 +7,7 @@ * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ -$plugin->version = 2019073000; // The current module version (Date: YYYYMMDDXX) +$plugin->version = 2019092500; // The current module version (Date: YYYYMMDDXX) $plugin->requires = 2014051212; // Requires this Moodle version $plugin->component = 'mod_adobeconnect'; $plugin->cron = 0; // Period for cron to check this module (secs)