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

Files

file  access.php
 Defines the capabilities used by the user upload admin tool.
 
file  field_value_validators.php
 File containing the field_value_validators class.
 
file  provider.php
 Privacy Subsystem implementation for tool_uploaduser.
 

Namespaces

 tool_uploaduser\local
  
 
 tool_uploaduser\privacy
  
 

Classes

class  tool_uploaduser\local\field_value_validators
 Field validator class. More...
 
class  tool_uploaduser\privacy\provider
 Privacy Subsystem for tool_uploaduser implementing null_provider. More...
 

Variables

 $capabilities
 

Detailed Description

Variable Documentation

◆ $capabilities

$capabilities
Initial value:
= array(
'tool/uploaduser:uploaduserpictures' => array(
'riskbitmask' => RISK_SPAM,
'captype' => 'write',
'contextlevel' => CONTEXT_SYSTEM,
'archetypes' => array(
'manager' => CAP_ALLOW
),
'clonepermissionsfrom' => 'moodle/site:uploadusers',
),
)
RISK_SPAM
const RISK_SPAM
Capability allows users to add content others may see - see http://docs.moodle.org/dev/Hardening_new_...
Definition: accesslib.php:147
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