mirror of
https://github.com/moodle/moodle.git
synced 2025-04-14 13:02:07 +02:00
MDL-10576 two new lang pack editing capabilities
This commit is contained in:
parent
dd45888a24
commit
2a55410b18
@ -118,6 +118,8 @@ $string['site:config'] = 'Change site configuration';
|
||||
$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';
|
||||
|
@ -238,6 +238,28 @@ $moodle_capabilities = array(
|
||||
)
|
||||
),
|
||||
|
||||
'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(
|
||||
|
||||
|
@ -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 = 2007072303; // YYYYMMDD = date
|
||||
$version = 2007072304; // YYYYMMDD = date
|
||||
// XY = increments within a single day
|
||||
|
||||
$release = '1.9 dev'; // Human-friendly version name
|
||||
|
Loading…
x
Reference in New Issue
Block a user