Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Files | Namespaces | Classes | Variables
report_security

Files

file  access.php
 Capabilities.
 
file  provider.php
 Privacy Subsystem implementation for report_security.
 

Namespaces

 report_security\privacy
  
 

Classes

class  report_security\privacy\provider
 Privacy Subsystem for report_security implementing null_provider. More...
 

Variables

 $capabilities
 

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
),
)
)
CONTEXT_SYSTEM
const CONTEXT_SYSTEM
System context level - only one instance in every system.
Definition: accesslib.php:122
CAP_ALLOW
const CAP_ALLOW
Allow permission, overrides CAP_PREVENT defined in parent contexts.
Definition: accesslib.php:115
RISK_CONFIG
const RISK_CONFIG
Capability allows changes in system configuration - see http://docs.moodle.org/dev/Hardening_new_Role...
Definition: accesslib.php:141