芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/.trash/cepali/report/usersessions/db/access.php
. /** * Capabilities for this report. * * @package report_usersessions * @copyright 2014 Totara Learning Solutions Ltd {@link http://www.totaralms.com/} * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @author Petr Skoda
*/ defined('MOODLE_INTERNAL') || die(); $capabilities = array( 'report/usersessions:manageownsessions' => array( 'captype' => 'write', 'contextlevel' => CONTEXT_USER, 'archetypes' => array( 'user' => CAP_ALLOW, ), // NOTE: shared accounts usually do not allow changing // of own passwords, this is not very accurate but safer. 'clonepermissionsfrom' => 'moodle/user:changeownpassword' ), );