]> git.mjollnir.org Git - moodle.git/commitdiff
Roles support added: enrol/authorize:managepayments
authorethem <ethem>
Mon, 14 Aug 2006 13:29:24 +0000 (13:29 +0000)
committerethem <ethem>
Mon, 14 Aug 2006 13:29:24 +0000 (13:29 +0000)
enrol/authorize/db/access.php [new file with mode: 0644]
enrol/authorize/version.php

diff --git a/enrol/authorize/db/access.php b/enrol/authorize/db/access.php
new file mode 100644 (file)
index 0000000..b2e051f
--- /dev/null
@@ -0,0 +1,20 @@
+<?php // $Id$
+
+$enrol_authorize_capabilities = array(
+
+    'enrol/authorize:managepayments' => array(
+        'captype' => 'write',
+        'contextlevel' => CONTEXT_SYSTEM,
+        'legacy' => array(
+            'guest' => CAP_PREVENT,
+            'student' => CAP_PREVENT,
+            'teacher' => CAP_PREVENT,
+            'editingteacher' => CAP_PREVENT,
+            'coursecreator' => CAP_PREVENT,
+            'admin' => CAP_ALLOW
+        )
+    )
+
+);
+
+?>
index 8a706ccd485848e73a9aefe0f3b17902e4e5510f..7b8e8c13c3eb3e47ce62b0611f80b79a2ea6c585 100755 (executable)
@@ -1,6 +1,6 @@
 <?PHP // $Id$
 
-$plugin->version  = 2006060500;
+$plugin->version  = 2006081400;
 $plugin->requires = 2005072200;
 
 ?>