From 30843770c2b4c717fb0c0b6a7c6f5aa874f81a3c Mon Sep 17 00:00:00 2001
From: DFNVC <git@vc.dfn.de>
Date: Wed, 25 Sep 2019 16:10:09 +0200
Subject: [PATCH] =?UTF-8?q?Standard=20Capability=20'mod/adobeconnect:addin?=
 =?UTF-8?q?stance'=20hinzugef=C3=BCgt.?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 db/access.php | 12 +++++++++++-
 version.php   |  2 +-
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/db/access.php b/db/access.php
index febe859..3430560 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 3a86e2a..76bb43a 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)
-- 
GitLab