Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
report_security

Namespaces

namespace  report_security\event
  
 
namespace  report_security\privacy
  
 

Classes

class  report_security\event\report_viewed
 The report_loglive report viewed event class. More...
 
class  report_security\privacy\provider
 Privacy Subsystem for report_security implementing null_provider. More...
 

Variables

 $capabilities
 
 $plugin = 2023041800
 
 $settings = null
 
$plugin component = 'report_security'
 
$plugin version = 2023042400
 

Detailed Description

Variable Documentation

◆ $capabilities

$capabilities
Initial value:
= array(
'report/security:view' => array(
'riskbitmask' => RISK_CONFIG,
'captype' => 'read',
'contextlevel' => CONTEXT_SYSTEM,
'archetypes' => array(
'manager' => CAP_ALLOW
),
)
)
const CONTEXT_SYSTEM
System context level - only one instance in every system.
Definition accesslib.php:122
const RISK_CONFIG
Capability allows changes in system configuration - see
Definition accesslib.php:141
const CAP_ALLOW
Allow permission, overrides CAP_PREVENT defined in parent contexts.
Definition accesslib.php:115