1. Login as a teacher, access a course then in the settings, set both 'Show gradebook to students' and 'Show activity reports' to yes.
2. Login as a student and check that a grades link appears in the course administration section of the settings block.
3. Check that an activity reports link appears in the navigation block and students can access each activity report.
4. Login as the teacher and change both the settings 'Show gradebook to students' and 'Show activity reports' to no.
5. Login as the student and check that the links no longer appear.