mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
14 lines
401 B
PHP
14 lines
401 B
PHP
<?php
|
|
|
|
$capabilities = array(
|
|
|
|
'webservice/rest:use' => array(
|
|
'riskbitmask' => RISK_CONFIG | RISK_DATALOSS | RISK_SPAM | RISK_PERSONAL | RISK_XSS,
|
|
'captype' => 'read', // in fact this may be considered read and write at the same time
|
|
'contextlevel' => CONTEXT_COURSE, // the context level should be probably CONTEXT_MODULE
|
|
'legacy' => array(
|
|
),
|
|
),
|
|
|
|
);
|