assignments and lectures should only be visible if their publish_on date is met