)
),
+ 'mod/attforblock:addinstance' => array(
+ 'riskbitmask' => RISK_XSS,
+
+ 'captype' => 'write',
+ 'contextlevel' => CONTEXT_COURSE,
+ 'archetypes' => array(
+ 'editingteacher' => CAP_ALLOW,
+ 'manager' => CAP_ALLOW
+ ),
+ 'clonepermissionsfrom' => 'moodle/course:manageactivities'
+ ),
+
'mod/attforblock:viewreports' => array(
'riskbitmask' => RISK_PERSONAL,
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
-$module->version = 2011071600; // The current module version (Date: YYYYMMDDXX)
+$module->version = 2011071601; // The current module version (Date: YYYYMMDDXX)
$module->release = '2.4.0';
$module->cron = 0; // Period for cron to check this module (secs)
$module->component = 'mod_attforblock'; // Full name of the plugin (used for diagnostics)