diff --git a/lang/en/role.php b/lang/en/role.php index 72edb507613..96d071ae0f3 100644 --- a/lang/en/role.php +++ b/lang/en/role.php @@ -423,6 +423,7 @@ $string['site:restore'] = 'Restore courses'; $string['site:sendmessage'] = 'Send messages to any user'; $string['site:trustcontent'] = 'Trust submitted content'; $string['site:uploadusers'] = 'Upload new users from file'; +$string['site:viewanonymousevents'] = 'View anonymous events in reports'; $string['site:viewfullnames'] = 'Always see full names of users'; $string['site:viewparticipants'] = 'View participants'; $string['site:viewreports'] = 'View reports'; diff --git a/lib/db/access.php b/lib/db/access.php index dacaf5b7745..a970632fe48 100644 --- a/lib/db/access.php +++ b/lib/db/access.php @@ -391,6 +391,17 @@ $capabilities = array( ) ), + 'moodle/site:viewanonymousevents' => array( + + 'captype' => 'read', + 'contextlevel' => CONTEXT_MODULE, + 'archetypes' => array( + 'teacher' => CAP_PROHIBIT, + 'editingteacher' => CAP_PROHIBIT, + 'manager' => CAP_ALLOW + ) + ), + 'moodle/site:viewfullnames' => array( 'captype' => 'read', diff --git a/version.php b/version.php index 31799972a5b..87422065ce5 100644 --- a/version.php +++ b/version.php @@ -29,7 +29,7 @@ defined('MOODLE_INTERNAL') || die(); -$version = 2019122000.00; // YYYYMMDD = weekly release date of this DEV branch. +$version = 2019122000.01; // YYYYMMDD = weekly release date of this DEV branch. // RR = release increments - 00 in DEV branches. // .XX = incremental changes. $release = '3.9dev (Build: 20191220)'; // Human-friendly version name