MDL-13766, allow logged in user to use repository plugins
[moodle.git] / repository / upload / db / access.php
index e14d8ae..fff4e68 100644 (file)
@@ -1,15 +1,16 @@
 <?php
 
-$repository_upload_capabilities = array(
+$capabilities = array(
 
     'repository/upload:view' => array(
         'captype' => 'read',
         'contextlevel' => CONTEXT_SYSTEM,
         'legacy' => array(
+            'user' => CAP_ALLOW,
             'student' => CAP_ALLOW,
             'teacher' => CAP_ALLOW,
             'editingteacher' => CAP_ALLOW,
-            'admin' => CAP_ALLOW
+            'manager' => CAP_ALLOW
         )
     )
 );