MDL-11517 reserved word MOD used in table alias in questions backup code
[moodle-pu.git] / mod / wiki / db / access.php
blobc05b08f71f53e584c117a06093d3b2334c667b86
1 <?php // $Id$
2 /**
3 * Capability definitions for the wiki module.
5 * For naming conventions, see lib/db/access.php.
6 */
7 $mod_wiki_capabilities = array(
9 'mod/wiki:participate' => array(
11 'riskbitmask' => RISK_SPAM,
13 'captype' => 'write',
14 'contextlevel' => CONTEXT_MODULE,
15 'legacy' => array(
16 'student' => CAP_ALLOW,
17 'teacher' => CAP_ALLOW,
18 'editingteacher' => CAP_ALLOW,
19 'admin' => CAP_ALLOW
23 'mod/wiki:manage' => array(
25 'riskbitmask' => RISK_SPAM,
27 'captype' => 'write',
28 'contextlevel' => CONTEXT_MODULE,
29 'legacy' => array(
30 'teacher' => CAP_ALLOW,
31 'editingteacher' => CAP_ALLOW,
32 'admin' => CAP_ALLOW
36 'mod/wiki:overridelock' => array(
38 'riskbitmask' => 0,
40 'captype' => 'write',
41 'contextlevel' => CONTEXT_MODULE,
42 'legacy' => array(
43 'teacher' => CAP_ALLOW,
44 'editingteacher' => CAP_ALLOW,
45 'admin' => CAP_ALLOW