mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
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:
parent
16d4515411
commit
1962f743dc
@ -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,
|
||||
)
|
||||
),
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user