Assignment2 uses the gradebook for all of its assignment grading and relies on the gradebook to answer questions like "Is the current user allowed to grade this student?" While working on the notifications feature in Assignment2, I encountered this question: "Which users are allowed to grade this student?" I need to know who the graders are that need to be notified when a student makes a submission. The relevant GradebookService methods only answer this question for the current user. I would like some new methods that will answer this question for a userId passed as a parameter.
It would be useful to pass a userId as a parameter to answer some of these questions:
Which students is this user allowed to grade?
Does this user have the ability to grade in the gradebook?