3 * Capability definitions for the lesson module.
5 * For naming conventions, see lib/db/access.php.
7 $mod_lesson_capabilities = array(
9 'mod/lesson:edit' => array(
11 'riskbitmask' => RISK_XSS
,
14 'contextlevel' => CONTEXT_MODULE
,
16 'editingteacher' => CAP_ALLOW
,
21 'mod/lesson:manage' => array(
24 'contextlevel' => CONTEXT_MODULE
,
26 'teacher' => CAP_ALLOW
,
27 'editingteacher' => CAP_ALLOW
,