[ARCHIVED] Course role code

baxl
Community Contributor

Does anyone have any code they can share to create a course role with the following permissions. 

  • can view content
  • can view gradebook
  • cannot edit grade
  • can view quizzes questions, but cannot view exam questions (midterm and final exams)

Basically, the user cannot grade, but can view the grades and comments from a teacher, and they can view quiz questions, but they cannot view exam questions.

The Javascript I have isn't quite working the way I need it to, and it's not possible to do this when I enable or disable some of the permissions.  Any help is greatly appreciated!

Labels (2)