mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
MDL-75316 core_moodlenet: Create MoodleNet capability
Originally implemented as MDL-75319
This commit is contained in:
parent
852e31dbc4
commit
7727745bf7
@ -309,6 +309,7 @@ $string['manager'] = 'Manager';
|
||||
$string['managerdescription'] = 'Managers can access courses and modify them, but usually do not participate in them.';
|
||||
$string['manageroles'] = 'Manage roles';
|
||||
$string['maybeassignedin'] = 'Context types where this role may be assigned';
|
||||
$string['moodlenet:shareactivity'] = 'Share activities to MoodleNet';
|
||||
$string['morethan'] = 'More than {$a}';
|
||||
$string['multipleroles'] = 'Multiple roles';
|
||||
$string['my:manageblocks'] = 'Manage Dashboard page blocks';
|
||||
|
@ -2681,4 +2681,14 @@ $capabilities = array(
|
||||
'contextlevel' => CONTEXT_SYSTEM,
|
||||
'archetypes' => [],
|
||||
],
|
||||
|
||||
// Allow users to share activities to MoodleNet.
|
||||
'moodle/moodlenet:shareactivity' => [
|
||||
'captype' => 'read',
|
||||
'contextlevel' => CONTEXT_COURSE,
|
||||
'archetypes' => [
|
||||
'editingteacher' => CAP_ALLOW,
|
||||
'manager' => CAP_ALLOW,
|
||||
]
|
||||
],
|
||||
);
|
||||
|
@ -29,7 +29,7 @@
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
$version = 2023041400.00; // YYYYMMDD = weekly release date of this DEV branch.
|
||||
$version = 2023041400.01; // YYYYMMDD = weekly release date of this DEV branch.
|
||||
// RR = release increments - 00 in DEV branches.
|
||||
// .XX = incremental changes.
|
||||
$release = '4.2beta (Build: 20230414)'; // Human-friendly version name
|
||||
|
Loading…
x
Reference in New Issue
Block a user