Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.8.1, 2.9
-
Fix Version/s: 2.8.4
-
Component/s: Messages, Web Services
-
Testing Instructions:
-
Affected Branches:MOODLE_28_STABLE, MOODLE_29_STABLE
-
Fixed Branches:MOODLE_28_STABLE
-
Pull from Repository:
-
Pull Master Branch:
MDL-48525-master -
Pull Master Diff URL:
Description
The messaging external functions get_contacts and search_contacts doesn't return the profile user image in some cases.
This is because these functions uses internally the user_get_user_details() function that only returns the profile user images URLs if the requesting user has the moodle/user:viewdetails permitted.
In the web interface iff messaging is enabled, the global search doesn't check that capabilities so the profile user image must be returned always.
See https://tracker.moodle.org/browse/MDL-48329?focusedCommentId=326374&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-326374 for more info: