MDL-66213 roles: Add capability for viewing anonymous events.
This commit is contained in:
@@ -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';
|
||||
|
||||
@@ -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',
|
||||
|
||||
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user