MDL-27552 get webservice token by providing username and password
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user