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.