Instead of PROHIBIT this capability for teachers, the
RISK_PERSONAL has been added.
'moodle/site:viewanonymousevents' => array(
+ 'riskbitmask' => RISK_PERSONAL,
+
'captype' => 'read',
'contextlevel' => CONTEXT_MODULE,
'archetypes' => array(
- 'teacher' => CAP_PROHIBIT,
- 'editingteacher' => CAP_PROHIBIT,
- 'manager' => CAP_ALLOW
+ 'manager' => CAP_ALLOW,
)
),
defined('MOODLE_INTERNAL') || die();
-$version = 2020010900.01; // YYYYMMDD = weekly release date of this DEV branch.
+$version = 2020010900.02; // YYYYMMDD = weekly release date of this DEV branch.
// RR = release increments - 00 in DEV branches.
// .XX = incremental changes.
$release = '3.9dev (Build: 20200109)'; // Human-friendly version name