MDL-15262 adding xss risks to new course update related caps; merged from MOODLE_19_STABLE

This commit is contained in:
skodak
2008-10-08 20:07:42 +00:00
parent 5e99b9d70e
commit cd7f72c0b6
2 changed files with 7 additions and 1 deletions
+6
View File
@@ -672,6 +672,8 @@ $moodle_capabilities = array(
'moodle/course:changefullname' => array(
'riskbitmask' => RISK_XSS,
'captype' => 'write',
'contextlevel' => CONTEXT_COURSE,
'legacy' => array(
@@ -683,6 +685,8 @@ $moodle_capabilities = array(
'moodle/course:changeshortname' => array(
'riskbitmask' => RISK_XSS,
'captype' => 'write',
'contextlevel' => CONTEXT_COURSE,
'legacy' => array(
@@ -694,6 +698,8 @@ $moodle_capabilities = array(
'moodle/course:changeidnumber' => array(
'riskbitmask' => RISK_XSS,
'captype' => 'write',
'contextlevel' => CONTEXT_COURSE,
'legacy' => array(
+1 -1
View File
@@ -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 = 2008100800; // YYYYMMDD = date of the last version bump
$version = 2008100801; // YYYYMMDD = date of the last version bump
// XX = daily increments
$release = '2.0 dev (Build: 20081008)'; // Human-friendly version name