Skip to content
  • sam marshall's avatar
    MDL-67300 Calendar: Inconsistent behaviour of managegroupentries · 0ce15c81
    sam marshall authored
    When calling the calendar_get_allowed_event_types function with
    no course id, it is supposed to return true if you have the
    relevant permissions in any course.
    
    For users who have the managegroupentries permission, this was not
    the case - even though it works correctly if you call the function
    with a supplied course id.
    
    This change makes behaviour with and without a supplied course id
    consistent.
    0ce15c81