mirror of
https://github.com/moodle/moodle.git
synced 2025-03-02 15:02:37 +01:00
The requesting user is not always the same as the current user. The container class now allows a different user to be set as the requesting user. All capability checks are done against the requesting user. Also, the $requestinguser is passed to core_calendar_provide_event_action and core_calendar_is_event_visible callback functions. These callback functions need to be updated in all activity modules to accept a $user parameter.