mirror of
https://github.com/moodle/moodle.git
synced 2025-02-13 20:36:42 +01:00
29 lines
608 B
PHP
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
|
|
)
|
|
)
|
|
);
|