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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 3.7.1, 3.8
    • Assignment
    • MOODLE_37_STABLE, MOODLE_38_STABLE

      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()

            jleyva Juan Leyva
            isabelrenedo Isabel Renedo Rouco
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.