Merge commit 'catalyst/MOODLE_19_STABLE' into mdl19-linuxchix
[moodle-linuxchix.git] / mod / workshop / db / access.php
blob0518d090c91e9ef7ff49e5a0aa731c997e81f32f
1 <?php // $Id$
2 /**
3 * Capability definitions for the workshop module.
5 * For naming conventions, see lib/db/access.php.
6 */
7 $mod_workshop_capabilities = array(
9 'mod/workshop:participate' => array(
11 'riskbitmask' => RISK_SPAM,
13 'captype' => 'write',
14 'contextlevel' => CONTEXT_MODULE,
15 'legacy' => array(
16 'student' => CAP_ALLOW
20 'mod/workshop:manage' => array(
22 'riskbitmask' => RISK_SPAM,
24 'captype' => 'write',
25 'contextlevel' => CONTEXT_MODULE,
26 'legacy' => array(
27 'teacher' => CAP_ALLOW,
28 'editingteacher' => CAP_ALLOW,
29 'admin' => CAP_ALLOW