芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/public_html/cepali/mod/label/db/access.php
. /** * Capability definitions for the label module. * * @package mod_label * @copyright 2012 The Open University * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or late */ defined('MOODLE_INTERNAL') || die(); $capabilities = array( 'mod/label:addinstance' => array( 'riskbitmask' => RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array( 'editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW ), 'clonepermissionsfrom' => 'moodle/course:manageactivities' ), 'mod/label:view' => array( 'captype' => 'read', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => array( 'user' => CAP_ALLOW, 'guest' => CAP_ALLOW ) ), );