Commit | Line | Data |
---|---|---|
c86dde2e | 1 | <?php |
2 | ||
0ac940b3 | 3 | $capabilities = array( |
c86dde2e | 4 | |
5 | 'repository/upload:view' => array( | |
6 | 'captype' => 'read', | |
7 | 'contextlevel' => CONTEXT_SYSTEM, | |
31c93303 | 8 | 'archetypes' => array( |
30f53712 | 9 | 'user' => CAP_ALLOW, |
c86dde2e | 10 | 'student' => CAP_ALLOW, |
11 | 'teacher' => CAP_ALLOW, | |
12 | 'editingteacher' => CAP_ALLOW, | |
4f0c2d00 | 13 | 'manager' => CAP_ALLOW |
c86dde2e | 14 | ) |
15 | ) | |
16 | ); |