Permalink
Browse files

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

…Michael
  • Loading branch information...
1 parent 7dd813b commit 246c2cb8e5af71a7d7c605b8fc9f9563e0fb3bc4 @rajeshtaneja rajeshtaneja committed with stronk7 Dec 20, 2011
View
5 repository/coursefiles/db/access.php
@@ -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
)
)
);
View
2 repository/coursefiles/version.php
@@ -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)
View
5 repository/filesystem/db/access.php
@@ -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
)
)
);
View
2 repository/filesystem/version.php
@@ -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)
View
5 repository/local/db/access.php
@@ -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
)
)
);
View
2 repository/local/version.php
@@ -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)
View
5 repository/webdav/db/access.php
@@ -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
)
)
);
View
2 repository/webdav/version.php
@@ -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 246c2cb

Please sign in to comment.