Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-14641

Add methods to GradebookService to help answer permission questions for a given user, not just current user

    Details

    • Type: Task
    • Status: CLOSED
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.7.0
    • Fix Version/s: 2.7.0
    • Component/s: Gradebook Classic
    • Labels:
      None

      Description

      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?

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                wagnermr Michelle Wagner
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code