Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
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 = 2024041600
 
 $settings = null
 
$plugin component = 'report_security'
 
$plugin version = 2024042200
 

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