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

Namespaces

namespace  repository_user\privacy
  
 

Classes

class  repository_user
 repository_user class is used to browse user private files More...
 
class  repository_user\privacy\provider
 Privacy Subsystem for repository_user implementing null_provider. More...
 
class  repository_user_generator
 User private files repository data generator class. More...
 

Variables

 $capabilities
 

Detailed Description

Variable Documentation

◆ $capabilities

$capabilities
Initial value:
= array(
'repository/user:view' => array(
'captype' => 'read',
'contextlevel' => CONTEXT_MODULE,
'archetypes' => array(
'user' => CAP_ALLOW
)
)
)
const CAP_ALLOW
Allow permission, overrides CAP_PREVENT defined in parent contexts.
Definition accesslib.php:115
const CONTEXT_MODULE
Course module context level - one instance for each course module.
Definition accesslib.php:130