Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
MDL-13766, allow logged in user to use repository plugins
[moodle.git]
/
repository
/
upload
/
db
/
access.php
diff --git
a/repository/upload/db/access.php
b/repository/upload/db/access.php
index
eac552b
..
fff4e68
100644
(file)
--- a/
repository/upload/db/access.php
+++ b/
repository/upload/db/access.php
@@
-6,10
+6,11
@@
$capabilities = array(
'captype' => 'read',
'contextlevel' => CONTEXT_SYSTEM,
'legacy' => array(
'captype' => 'read',
'contextlevel' => CONTEXT_SYSTEM,
'legacy' => array(
+ 'user' => CAP_ALLOW,
'student' => CAP_ALLOW,
'teacher' => CAP_ALLOW,
'editingteacher' => CAP_ALLOW,
'student' => CAP_ALLOW,
'teacher' => CAP_ALLOW,
'editingteacher' => CAP_ALLOW,
- '
admin
' => CAP_ALLOW
+ '
manager
' => CAP_ALLOW
)
)
);
)
)
);