From: Jun Pataleta Date: Wed, 7 Jun 2017 04:14:40 +0000 (+0800) Subject: MDL-59171 mod_lti: Set mod_lti_view_lti's type to 'read' X-Git-Tag: v3.4.0-beta~792^2 X-Git-Url: http://git.moodle.org/gw?p=moodle.git;a=commitdiff_plain;h=9332accdc5312bb86a2289360c87c895dd311c3c MDL-59171 mod_lti: Set mod_lti_view_lti's type to 'read' --- diff --git a/mod/lti/db/services.php b/mod/lti/db/services.php index 02d24ad5c02..c90397a9a24 100644 --- a/mod/lti/db/services.php +++ b/mod/lti/db/services.php @@ -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) ),