Automatic installer.php lang files by installer_builder (20070726)
[moodle-linuxchix.git] / mod / lesson / db / access.php
blob0c010a93244ea7f9662559b3f7f71c7e914502e3
1 <?php // $Id$
2 /**
3 * Capability definitions for the lesson module.
5 * For naming conventions, see lib/db/access.php.
6 */
7 $mod_lesson_capabilities = array(
9 'mod/lesson:edit' => array(
11 'riskbitmask' => RISK_XSS,
13 'captype' => 'write',
14 'contextlevel' => CONTEXT_MODULE,
15 'legacy' => array(
16 'editingteacher' => CAP_ALLOW,
17 'admin' => CAP_ALLOW
21 'mod/lesson:manage' => array(
23 'captype' => 'write',
24 'contextlevel' => CONTEXT_MODULE,
25 'legacy' => array(
26 'teacher' => CAP_ALLOW,
27 'editingteacher' => CAP_ALLOW,
28 'admin' => CAP_ALLOW