One of our teaching staff reported a problem with using labels on courses. Labels are setup with a date and time restriction, the labels are associated with an assignment that is released as the same date and time as the that of the label so both the label and assignment remain hidden until then. The problem that his students are seeing is that the label generates a warning or information message in a red box that appears at the top of the course page. This label tells the student about the hidden label and at what date and time it will be available. Is there any way to disable these alerts or messages generated and displayed to the students, especially if the label is hidden from students?
Please see the attached screenshot for a sample of what a student will see. There could be 10 or 15 of the restricted access labels on an individual course and all generate a message each. Once a message is dismissed it doesn't appear for a period of time.
We are running moodle 3.9.10 (20210913).