moodle-block_mytreestudyplan/db/access.php
2022-06-26 20:05:36 +02:00

18 lines
416 B
PHP

<?php
$capabilities = array(
'block/mytreestudyplan:addinstance' => array(
'riskbitmask' => RISK_SPAM | RISK_XSS,
'captype' => 'write',
'contextlevel' => CONTEXT_BLOCK,
'archetypes' => array(
'editingteacher' => CAP_ALLOW,
'manager' => CAP_ALLOW
),
'clonepermissionsfrom' => 'moodle/site:manageblocks'
),
);