MDL-27552 get webservice token by providing username and password

This commit is contained in:
Dongsheng Cai
2011-06-13 17:41:56 +08:00
parent 6911fa130b
commit 13ea96c40b
5 changed files with 152 additions and 1 deletions
+9
View File
@@ -1692,6 +1692,15 @@ $capabilities = array(
'manager' => CAP_ALLOW
)
),
'moodle/webservice:createmobiletoken' => array(
'riskbitmask' => RISK_CONFIG | RISK_DATALOSS | RISK_SPAM | RISK_PERSONAL | RISK_XSS,
'captype' => 'write',
'contextlevel' => CONTEXT_SYSTEM,
'archetypes' => array(
'user' => CAP_ALLOW
)
),
'moodle/rating:view' => array(
'captype' => 'read',