2011-11-02 09:04:48 +01:00
|
|
|
<?php
|
2011-11-02 09:26:31 +01:00
|
|
|
// This file is part of Moodle - http://moodle.org/
|
|
|
|
//
|
|
|
|
// Moodle is free software: you can redistribute it and/or modify
|
|
|
|
// it under the terms of the GNU General Public License as published by
|
|
|
|
// the Free Software Foundation, either version 3 of the License, or
|
|
|
|
// (at your option) any later version.
|
|
|
|
//
|
|
|
|
// Moodle is distributed in the hope that it will be useful,
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
// GNU General Public License for more details.
|
|
|
|
//
|
|
|
|
// You should have received a copy of the GNU General Public License
|
|
|
|
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Settings and links
|
|
|
|
*
|
MDL-67818 check: Added Check API and refactored security checks
AMOS BEGIN
MOV [check_noauth_details,report_security],[check_noauth_details,auth_none]
MOV [check_noauth_error,report_security],[check_noauth_error,auth_none]
MOV [check_noauth_name,report_security],[check_noauth_name,auth_none]
MOV [check_noauth_ok,report_security],[check_noauth_ok,auth_none]
AMOS END
2020-04-02 17:23:42 +11:00
|
|
|
* @package report_security
|
2011-11-02 09:26:31 +01:00
|
|
|
* @copyright 2008 petr Skoda
|
|
|
|
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
|
|
|
*/
|
2011-11-02 09:04:48 +01:00
|
|
|
|
|
|
|
defined('MOODLE_INTERNAL') || die;
|
|
|
|
|
MDL-67818 check: Added Check API and refactored security checks
AMOS BEGIN
MOV [check_noauth_details,report_security],[check_noauth_details,auth_none]
MOV [check_noauth_error,report_security],[check_noauth_error,auth_none]
MOV [check_noauth_name,report_security],[check_noauth_name,auth_none]
MOV [check_noauth_ok,report_security],[check_noauth_ok,auth_none]
AMOS END
2020-04-02 17:23:42 +11:00
|
|
|
$ADMIN->add('reports', new admin_externalpage('reportsecurity', get_string('pluginname', 'report_security'),
|
|
|
|
"$CFG->wwwroot/report/security/index.php", 'report/security:view'));
|
2011-11-02 09:04:48 +01:00
|
|
|
|
MDL-67818 check: Added Check API and refactored security checks
AMOS BEGIN
MOV [check_noauth_details,report_security],[check_noauth_details,auth_none]
MOV [check_noauth_error,report_security],[check_noauth_error,auth_none]
MOV [check_noauth_name,report_security],[check_noauth_name,auth_none]
MOV [check_noauth_ok,report_security],[check_noauth_ok,auth_none]
AMOS END
2020-04-02 17:23:42 +11:00
|
|
|
// No report settings.
|
2011-11-02 09:04:48 +01:00
|
|
|
$settings = null;
|