MDL-59171 mod_lti: Set mod_lti_view_lti's type to 'read'

This commit is contained in:
Jun Pataleta 2017-06-07 12:14:40 +08:00
parent 4c6063bff9
commit 9332accdc5

View File

@ -49,7 +49,7 @@ $functions = array(
'classname' => 'mod_lti_external',
'methodname' => 'view_lti',
'description' => 'Trigger the course module viewed event and update the module completion status.',
'type' => 'write',
'type' => 'read',
'capabilities' => 'mod/lti:view',
'services' => array(MOODLE_OFFICIAL_MOBILE_SERVICE)
),