Files
moodle/mod/lams/db/access.php
T
moodler a0ba79ded7 All the PREVENTS from the legacy roles have been removed
(and thus are treated as INHERIT by default).

See MDL-6907 for details.
2006-10-11 06:16:16 +00:00

29 lines
608 B
PHP

<?php // $Id$
/**
* Capability definitions for the lams module.
*
* For naming conventions, see lib/db/access.php.
*/
$mod_lams_capabilities = array(
'mod/lams:participate' => array(
'captype' => 'write',
'contextlevel' => CONTEXT_MODULE,
'legacy' => array(
'student' => CAP_ALLOW
)
),
'mod/lams:manage' => array(
'captype' => 'write',
'contextlevel' => CONTEXT_MODULE,
'legacy' => array(
'teacher' => CAP_ALLOW,
'editingteacher' => CAP_ALLOW,
'admin' => CAP_ALLOW
)
)
);