MDL-40289 fix block_badges capability defaults

This commit is contained in:
Petr Škoda 2013-06-23 12:33:40 +02:00
parent 3e9f4c7b1b
commit a7b0dfd4e2
2 changed files with 5 additions and 5 deletions

View File

@ -26,11 +26,11 @@
$capabilities = array(
'block/badges:addinstance' => array(
'riskbitmask' => RISK_PERSONAL,
'captype' => 'read',
'contextlevel' => CONTEXT_SYSTEM,
'archetypes' => array(
'user' => CAP_ALLOW,
'contextlevel' => CONTEXT_BLOCK,
'archetypes' => array(
'editingteacher' => CAP_ALLOW,
'manager' => CAP_ALLOW
),
'clonepermissionsfrom' => 'moodle/site:manageblocks'
),

View File

@ -25,6 +25,6 @@
defined('MOODLE_INTERNAL') || die();
$plugin->version = 2013050100; // The current plugin version (Date: YYYYMMDDXX).
$plugin->version = 2013050101; // The current plugin version (Date: YYYYMMDDXX).
$plugin->requires = 2013050100; // Requires this Moodle version.
$plugin->component = 'block_badges';