|
Moodle
2.2.1
http://www.collinsharper.com
|
00001 <?php 00002 00003 $capabilities = array( 00004 00005 'webservice/xmlrpc:use' => array( 00006 'riskbitmask' => RISK_CONFIG | RISK_DATALOSS | RISK_SPAM | RISK_PERSONAL | RISK_XSS, 00007 'captype' => 'read', // in fact this may be considered read and write at the same time 00008 'contextlevel' => CONTEXT_COURSE, // the context level should be probably CONTEXT_MODULE 00009 'archetypes' => array( 00010 ), 00011 ), 00012 00013 );