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

Users without required permissions can see Remove submission for bulk operations

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 3.7, 3.8
    • Assignment
    • MOODLE_37_STABLE, MOODLE_38_STABLE
    • MDL-67206-master
    • Hide

      Can't see option without capability

      1. Create a course with an assignment activity and file submission enabled.
      2. Enrol a student to the course and submit a file submission
      3. Enrol a teach to the course 
      4. Navigate to the grading screen e.g. mod/assign/view.php?id=xxxx&action=grading
      5. Make sure that you don't see Remove submission in the dropdown list for the bulk submissions operations. 

      Can see option with required capability

      1. Add mod/assign:editothersubmission to the teacher role.
      2. Create a course with an assignment activity and file submission enabled.
      3. Enrol a student to the course and submit a file submission
      4. Enrol a teach to the course 
      5. Navigate to the grading screen e.g. mod/assign/view.php?id=xxxx&action=grading
      6. Make sure that you see Remove submission in the dropdown list for the bulk submissions operations. 

       

       

      Show
      Can't see option without capability Create a course with an assignment activity and file submission enabled. Enrol a student to the course and submit a file submission Enrol a teach to the course  Navigate to the grading screen e.g. mod/assign/view.php?id=xxxx&action=grading Make sure that you don't see Remove submission in the dropdown list for the bulk submissions operations.  Can see option with required capability Add mod/assign:editothersubmission to the teacher role. Create a course with an assignment activity and file submission enabled. Enrol a student to the course and submit a file submission Enrol a teach to the course  Navigate to the grading screen e.g. mod/assign/view.php?id=xxxx&action=grading Make sure that you see Remove submission in the dropdown list for the bulk submissions operations.     

      Currently users without mod/assign:editothersubmission see Remove submission option in the select for assignment bulk operations. They get permission error if they'd try to actually remove some assignments as they would need  at least  'mod/assign:editothersubmission'.

            dmitriim Dmitrii Metelkin
            dmitriim Dmitrii Metelkin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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