Skip to content
Browse files

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

… - Thanks Michael

Signed-off-by: Rajesh Taneja <rajesh@moodle.org>
  • Loading branch information...
1 parent 11e24ca commit dd1076815547b4bf98fc2526554dc731f68f5ae8 Rajesh Taneja committed with stronk7 Jan 10, 2012
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
@@ -15,4 +15,4 @@
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
-$plugin->version = 2010083100;
+$plugin->version = 2012010100;
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
@@ -15,4 +15,4 @@
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
-$plugin->version = 2009080102;
+$plugin->version = 2012010100;
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
@@ -15,4 +15,4 @@
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
-$plugin->version = 2009080102;
+$plugin->version = 2012010100;
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
@@ -15,4 +15,4 @@
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
-$plugin->version = 2009080102;
+$plugin->version = 2012010100;

0 comments on commit dd10768

Please sign in to comment.
Something went wrong with that request. Please try again.