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

This commit is contained in:
Jun Pataleta
2017-06-12 08:34:52 +08:00
parent 7624f86fb2
commit abeb033dfb
+1 -1
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)
),