Disabled student view if course is not yet released for students.

LMS-6617
Can you add a comment explaining the purpose of these lines?