Permalink
Browse files

MDL-30452 Repositories: Changed default capability on repos - Thanks …

…Michael

Signed-off-by: Rajesh Taneja <rajesh@moodle.org>
  • Loading branch information...
1 parent 859624f commit 4cb258fbdf8ebf51c0d38ea6819ed954a2c42d16 Rajesh Taneja committed with stronk7 Dec 20, 2011
@@ -6,7 +6,10 @@
'captype' => 'read',
'contextlevel' => CONTEXT_MODULE,
'archetypes' => array(
- 'user' => CAP_ALLOW
+ 'coursecreator' => CAP_ALLOW,
+ 'teacher' => CAP_ALLOW,
+ 'editingteacher' => CAP_ALLOW,
+ 'manager' => CAP_ALLOW
)
)
);
@@ -26,6 +26,6 @@
defined('MOODLE_INTERNAL') || die();
-$plugin->version = 2011112900; // The current plugin version (Date: YYYYMMDDXX)
+$plugin->version = 2012010100; // The current plugin version (Date: YYYYMMDDXX)
$plugin->requires = 2011112900; // Requires this Moodle version
$plugin->component = 'repository_coursefiles'; // Full name of the plugin (used for diagnostics)
@@ -6,7 +6,10 @@
'captype' => 'read',
'contextlevel' => CONTEXT_MODULE,
'archetypes' => array(
- 'user' => CAP_ALLOW
+ 'coursecreator' => CAP_ALLOW,
+ 'teacher' => CAP_ALLOW,
+ 'editingteacher' => CAP_ALLOW,
+ 'manager' => CAP_ALLOW
)
)
);
@@ -26,6 +26,6 @@
defined('MOODLE_INTERNAL') || die();
-$plugin->version = 2011112900; // The current plugin version (Date: YYYYMMDDXX)
+$plugin->version = 2012010100; // The current plugin version (Date: YYYYMMDDXX)
$plugin->requires = 2011112900; // Requires this Moodle version
$plugin->component = 'repository_filesystem'; // Full name of the plugin (used for diagnostics)
@@ -6,7 +6,10 @@
'captype' => 'read',
'contextlevel' => CONTEXT_MODULE,
'archetypes' => array(
- 'user' => CAP_ALLOW
+ 'coursecreator' => CAP_ALLOW,
+ 'teacher' => CAP_ALLOW,
+ 'editingteacher' => CAP_ALLOW,
+ 'manager' => CAP_ALLOW
)
)
);
@@ -26,6 +26,6 @@
defined('MOODLE_INTERNAL') || die();
-$plugin->version = 2011112900; // The current plugin version (Date: YYYYMMDDXX)
+$plugin->version = 2012010100; // The current plugin version (Date: YYYYMMDDXX)
$plugin->requires = 2011112900; // Requires this Moodle version
$plugin->component = 'repository_local'; // Full name of the plugin (used for diagnostics)
@@ -6,7 +6,10 @@
'captype' => 'read',
'contextlevel' => CONTEXT_MODULE,
'archetypes' => array(
- 'user' => CAP_ALLOW
+ 'coursecreator' => CAP_ALLOW,
+ 'teacher' => CAP_ALLOW,
+ 'editingteacher' => CAP_ALLOW,
+ 'manager' => CAP_ALLOW
)
)
);
@@ -26,6 +26,6 @@
defined('MOODLE_INTERNAL') || die();
-$plugin->version = 2011112900; // The current plugin version (Date: YYYYMMDDXX)
+$plugin->version = 2012010100; // The current plugin version (Date: YYYYMMDDXX)
$plugin->requires = 2011112900; // Requires this Moodle version
$plugin->component = 'repository_webdav'; // Full name of the plugin (used for diagnostics)

0 comments on commit 4cb258f

Please sign in to comment.