moodle-local_replication/db/access.php
2022-01-13 08:12:46 +01:00

18 lines
393 B
PHP

<?php
defined('MOODLE_INTERNAL') || die();
$capabilities = array(
'local/replication:replicate' => array(
'riskbitmask' => RISK_DATALOSS,
'captype' => 'write',
'contextlevel' => CONTEXT_COURSE,
'archetypes' => array(
'editingteacher' => CAP_ALLOW,
'manager' => CAP_ALLOW
),
'clonepermissionsfrom' => 'moodle/course:manageactivities'
)
);