Hmm, may be you should tell us why you want to hide that block from students in courses. Normally, that block has only unenroll function for students. If that is what you want to remove, you can change the student role definition site-wide to supress that capability for them).
Hide Block for Student
This discussion has been locked because a year has elapsed since the last post. Please start a new discussion topic.