MDL-66213 roles: review new site:viewanonymousevents capability

Instead of PROHIBIT this capability for teachers, the
RISK_PERSONAL has been added.
This commit is contained in:
Sara Arjona 2020-01-14 16:42:26 +01:00
parent 16d4515411
commit 1962f743dc
2 changed files with 4 additions and 4 deletions

View File

@ -393,12 +393,12 @@ $capabilities = array(
'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,
)
),

View File

@ -29,7 +29,7 @@
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