MDL-20712 using just $capablities for capability definition array, all other files...
[moodle.git] / repository / upload / db / access.php
... / ...
CommitLineData
1<?php
2
3$capabilities = array(
4
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);