"MDL-19181, display plugin instances based on capabilities"
[moodle.git] / repository / upload / db / access.php
1 <?php
3 $repository_upload_capabilities = array(
5     'repository/upload:view' => array(
6         'captype' => 'read',
7         'contextlevel' => CONTEXT_SYSTEM,
8         'legacy' => array(
9             'student' => CAP_ALLOW,
10             'teacher' => CAP_ALLOW,
11             'editingteacher' => CAP_ALLOW,
12             'admin' => CAP_ALLOW
13         )
14     )
15 );