1
0
mirror of https://github.com/moodle/moodle.git synced 2025-04-24 01:44:27 +02:00

added new capability 'moodle/course:managemetacourses'

This commit is contained in:
skodak 2006-09-17 21:03:35 +00:00
parent 6e283151b0
commit 4b7aaf4025
2 changed files with 15 additions and 1 deletions

@ -562,6 +562,20 @@ $moodle_capabilities = array(
)
),
'moodle/course:managemetacourses' => array(
'captype' => 'write',
'contextlevel' => CONTEXT_COURSE,
'legacy' => array(
'guest' => CAP_PREVENT,
'student' => CAP_PREVENT,
'teacher' => CAP_PREVENT,
'editingteacher' => CAP_ALLOW,
'coursecreator' => CAP_ALLOW,
'admin' => CAP_ALLOW
)
),
'moodle/course:activityvisibility' => array(
'captype' => 'write',

@ -6,7 +6,7 @@
// This is compared against the values stored in the database to determine
// whether upgrades should be performed (see lib/db/*.php)
$version = 2006091701; // YYYYMMDD = date
$version = 2006091702; // YYYYMMDD = date
// XY = increments within a single day
$release = '1.7 dev'; // Human-friendly version name