Restrict block access to course page

Restrict block access to course page!