Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
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

namespace  tool_uploaduser\local
  
 
namespace  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',
),
)
const CONTEXT_SYSTEM
System context level - only one instance in every system.
Definition: accesslib.php:122
const RISK_SPAM
Capability allows users to add content others may see - see
Definition: accesslib.php:147
const CAP_ALLOW
Allow permission, overrides CAP_PREVENT defined in parent contexts.
Definition: accesslib.php:115