Skip to content

Commit

Permalink
MDL-66213 roles: review new site:viewanonymousevents capability
Browse files Browse the repository at this point in the history
Instead of PROHIBIT this capability for teachers, the
RISK_PERSONAL has been added.
  • Loading branch information
sarjona committed Jan 14, 2020
1 parent 16d4515 commit 1962f74
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions lib/db/access.php
Original file line number Diff line number Diff line change
Expand Up @@ -393,12 +393,12 @@

'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,
)
),

Expand Down
2 changes: 1 addition & 1 deletion version.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1962f74

Please sign in to comment.