accesslib MDL-22527 Batch change to replace 'legacy' arrays with 'archetypes' arrays...
[moodle.git] / repository / upload / db / access.php
1 <?php
3 $capabilities = array(
5     'repository/upload:view' => array(
6         'captype' => 'read',
7         'contextlevel' => CONTEXT_SYSTEM,
8         'archetypes' => array(
9             'user' => CAP_ALLOW,
10             'student' => CAP_ALLOW,
11             'teacher' => CAP_ALLOW,
12             'editingteacher' => CAP_ALLOW,
13             'manager' => CAP_ALLOW
14         )
15     )
16 );