3 * Capability definitions for the wiki module.
5 * For naming conventions, see lib/db/access.php.
7 $mod_wiki_capabilities = array(
9 'mod/wiki:participate' => array(
11 'riskbitmask' => RISK_SPAM
,
14 'contextlevel' => CONTEXT_MODULE
,
16 'student' => CAP_ALLOW
,
17 'teacher' => CAP_ALLOW
,
18 'editingteacher' => CAP_ALLOW
,
23 'mod/wiki:manage' => array(
25 'riskbitmask' => RISK_SPAM
,
28 'contextlevel' => CONTEXT_MODULE
,
30 'teacher' => CAP_ALLOW
,
31 'editingteacher' => CAP_ALLOW
,
36 'mod/wiki:overridelock' => array(
41 'contextlevel' => CONTEXT_MODULE
,
43 'teacher' => CAP_ALLOW
,
44 'editingteacher' => CAP_ALLOW
,