moodle-local_replication/db/access.php

19 lines
393 B
PHP
Raw Normal View History

2022-01-13 07:12:46 +00:00
<?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'
)
);