def METHOD_NAME(user):
    """
    Return the cache keys used for user-course permissions
    """
    key_last_updated = f'course_permissions_updated_at_{user.id}'
    key_courses = f'course_permissions_{user.id}'
    return key_courses, key_last_updated