$string['site:doanything'] = 'Allowed to do everything';
$string['site:doclinks'] = 'Show links to offsite docs';
$string['site:import'] = 'Import other courses into a course';
+$string['site:langeditlocal'] = 'Customize local translation';
+$string['site:langeditmaster'] = 'Edit master language packages';
$string['site:manageblocks'] = 'Manage site-level blocks';
$string['site:readallmessages'] = 'Read all messages on site';
$string['site:restore'] = 'Restore courses';
)
),
+ 'moodle/site:langeditmaster' => array(
+
+ 'riskbitmask' => RISK_CONFIG | RISK_XSS,
+
+ 'captype' => 'write',
+ 'contextlevel' => CONTEXT_SYSTEM,
+ 'legacy' => array(
+ 'admin' => CAP_PREVENT
+ )
+ ),
+
+ 'moodle/site:langeditlocal' => array(
+
+ 'riskbitmask' => RISK_CONFIG | RISK_XSS,
+
+ 'captype' => 'write',
+ 'contextlevel' => CONTEXT_SYSTEM,
+ 'legacy' => array(
+ 'admin' => CAP_ALLOW
+ )
+ ),
+
'moodle/user:create' => array(
// This is compared against the values stored in the database to determine
// whether upgrades should be performed (see lib/db/*.php)
- $version = 2007072303; // YYYYMMDD = date
+ $version = 2007072304; // YYYYMMDD = date
// XY = increments within a single day
$release = '1.9 dev'; // Human-friendly version name