Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-44450

Permission error when viewing annotated PDF

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 2.6.1
    • Fix Version/s: None
    • Component/s: Assignment
    • Labels:
    • Affected Branches:
      MOODLE_26_STABLE

      Description

      A user uploads a PDF assignment submission. The instructor annotates it. When the user tries to view the annotated PDF by clicking on the "View annotated PDF..." button.

      They are presented with the following error in a pop up window:

      Sorry, but you do not currently have permissions to do that (Grade assignment)

      It looks like it is hitting the following piece of code(around line 133 in mod/assign/feedback/editpdf/ajax.php):

      } else if ($action == 'loadquicklist') {
          require_capability('mod/assign:grade', $context);
       
          $result = comments_quick_list::get_comments();
       
          echo json_encode($result);
          die();
       
      }
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              hernan43 Ray Hernandez
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: