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

Assignment: Teacher doesn't have permissions to remove a submission from a student

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 3.7.1, 3.8
    • Fix Version/s: None
    • Component/s: Assignment
    • Labels:
    • Affected Branches:
      MOODLE_37_STABLE, MOODLE_38_STABLE

      Description

      An user with role teacher doesn't have permissions to remove a submission from a student in an assignment.

       

      In demo (school) I cannot put debug but an error message its' shown:
      error/nopermission

      More information about this error

       

      In a 3.8dev (master):
      error/nopermission

      More information about this error
       
      Debug info:
      Error code: nopermission
      $a contents:
       
      Stack trace:

      • line 494 of /lib/setuplib.php: moodle_exception thrown
      • line 7869 of /mod/assign/locallib.php: call to print_error()
      • line 7954 of /mod/assign/locallib.php: call to assign->remove_submission()
      • line 4893 of /mod/assign/locallib.php: call to assign->process_remove_submission()
      • line 530 of /mod/assign/locallib.php: call to assign->process_grading_batch_operation()
      • line 55 of /mod/assign/view.php: call to assign->view()

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jleyva Juan Leyva
              Reporter:
              isabelrenedo Isabel Renedo Rouco
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 10 minutes
                  10m