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

Bulk downloading assignment submission requires a student to have mod/assign:submit capability

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 3.11.10, 4.0.4, 4.1, 4.1.3
    • Assignment
    • MOODLE_311_STABLE, MOODLE_400_STABLE, MOODLE_401_STABLE
    • MDL-75764-main
    • Hide

      Setup

        1. Create a new Role using Student as archetype. Remove the mod/assign:submit capability
        2. Create a Course
        3. Create an Assignment in Course using Submission types: Online text
        4. Create users Flora Student and Basil Student and enrol them as students in the course
        5. Create user Leon Teacher and enrol them as a teacher in the course.

      Adding data to the assignment

      1. Login as Flora Student
        1. Navigate to Assignment
        2. Press the Add submission button
        3. Enter some text in the Online text box.
        4. Press Save changes{}
      2. Login as Leon Student
        1. Navigate to Assignment
        2. Press the Add submission button
        3. Enter some text in the Online text box.
        4. Press Save changes{}

      Test preparations

      1. Login as admin
      2. Change Basil Student role to the new Role without the mod/assign:submit capability

      Test bulk download

      1. Login as Leon Teacher
        • Navigate to Assignment
        • Open the Submissions tab
        • Verify that the following students are in the list:
          • Flora Student
          • Basil Student
        • In the Actions dropdown, select Download all submissions
        • Verify that that the downloaded folder contains submissions for:
          • Flora Student
          • Basil Student
      Show
      Setup Create a new Role using Student as archetype. Remove the mod/assign:submit capability Create a Course Create an Assignment in Course using Submission types : Online text Create users Flora Student and Basil Student and enrol them as students in the course Create user Leon Teacher and enrol them as a teacher in the course. Adding data to the assignment Login as Flora Student Navigate to Assignment Press the Add submission button Enter some text in the Online text box. Press Save changes { } Login as Leon Student Navigate to Assignment Press the Add submission button Enter some text in the Online text box. Press Save changes { } Test preparations Login as admin Change Basil Student role to the new Role without the mod/assign:submit capability Test bulk download Login as Leon Teacher Navigate to Assignment Open the Submissions tab Verify that the following students are in the list: Flora Student Basil Student In the Actions dropdown, select Download all submissions Verify that that the downloaded folder contains submissions for: Flora Student Basil Student
    • Hide

      Code verified against automated checks.

      Checked MDL-75764 using repository: https://github.com/aneno-m-e/moodle

      More information about this report

      Built on: Thu Jan 30 01:56:18 AM UTC 2025

      Show
      Code verified against automated checks. Checked MDL-75764 using repository: https://github.com/aneno-m-e/moodle main (0 errors / 0 warnings) [branch: MDL-75764-main | CI Job ] More information about this report Built on: Thu Jan 30 01:56:18 AM UTC 2025

      This looks like a very confusing behaviour to me. 

      For example if a student submitted an assignment and then changed a role to one without mod/assign:submit, then his submission won't be downloadable using bulk downloading functionality (Download all Submissions).

            Noemie Noemie Ariste
            dmitriim Dmitrii Metelkin
            Kevin Percy Kevin Percy
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:

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

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