Have you ever wanted to hide the navigation or settings block from a student or any block for that matter, and were not able to do it without getting the help of a programmer/developer. You do not need to be a programmer to do it. All you need to do is:

1) Go to Settings block (Administration in version 2.5 and above)

Moodle Administration

2) Click “turn editing on”
3) Go to the block you want to hide and click on Assign roles icon

Moodle block

4) Go to the block you want to hide and click on Assign roles icon