3 * Capability definitions for the workshop module.
5 * For naming conventions, see lib/db/access.php.
7 $mod_workshop_capabilities = array(
9 'mod/workshop:participate' => array(
11 'riskbitmask' => RISK_SPAM
,
14 'contextlevel' => CONTEXT_MODULE
,
16 'student' => CAP_ALLOW
20 'mod/workshop:manage' => array(
22 'riskbitmask' => RISK_SPAM
,
25 'contextlevel' => CONTEXT_MODULE
,
27 'teacher' => CAP_ALLOW
,
28 'editingteacher' => CAP_ALLOW
,