Skip to content
  • Jake Dallimore's avatar
    MDL-56565 navigation: fix for cap checks in nav and context header · 01255549
    Jake Dallimore authored
    Fix to:
    - Make sure we properly check both user and course contexts in
    the load_for_user function in navigation lib and user the
    user_can_view_profile function for same-course access checks.
    - Use user_can_view_profile in the renderer's context_header to
    properly decide whether a user can view another user's picture
    and messaging options in the page header.
    01255549