Show material of a course only when the course has started or if the logged user is a staff or a teacher of the course