-
Bug
-
Resolution: Inactive
-
Minor
-
None
-
2.7.2
-
MOODLE_27_STABLE
-
MDL-47525-master -
IMS roles cannot be retrieved without a current user. lti_get_ims_role in locallib takes a user parameter but never passes it to has_capability. has_capability then defaults to the current user and there are scenarios where there will be no current user, ie: in callbacks from TPs.