-
Bug
-
Resolution: Fixed
-
Minor
-
2.4.5, 2.5.1
-
MOODLE_24_STABLE, MOODLE_25_STABLE
-
MOODLE_24_STABLE, MOODLE_25_STABLE
-
wip-
MDL-41179-master -
-
BACKEND Sprint 4
Function cm_info::is_user_access_restricted_by_capability() assumes current user instead of user specified when get_fast_modinfo() was called.
At the same time we never call get_fast_modinfo() for non-current user in core but we should not exclude probability