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

Prevent teacher from giving permission moodle/coursepermission:ignorefilesizelimits to his students

    XMLWordPrintable

    Details

    • Affected Branches:
      MOODLE_34_STABLE

      Description

      At the university where I'm working, we have made sure that teachers can not use files that exceed all size restrictions (moodle / course: ignorefilesizelimits). We have a 200mo restriction by default.

      On the other hand, the teacher has the possibility of granting this permission for his students in his class. We wondered if it was normal for the teacher to grant this permission when he does not have it himself.

      I did several tests by granting me, as a student, this permission and I was able to file a 6go file without any problems.

      My team and I want the teacher to no longer be able to give this permission moodle/course permission:ignorefilesizelimits to his students.

       

       

      To reproduce the bug, here the steps:

      1. Make sure that the teacher role does not have the moodle / course permission: ignorefilesizelimits in Site administration > Users > Permissions >Define roles and select Teacher. In the filter type ignore to be sure that the teacher role does not have permission moodle / course: ignorefilesizelimits.(See Step 1 image)
      2. After making sure the teacher role does not have permission, create a homework assignment with the default 200mo limit in your Moodle space.
      3. After creating the assignment, go to the list of your participants. Click User Administration> Permissions. (See step 3 and 4 image)
      4. In Advanced role substitute select the Student role. Write ignore to simplify your search. Click on the + and add this permission to your students. (See step 3 and 4 image)
      5. After granting this permission to your students. Log in as a student and try to hand over a homework that exceeds the 200mo limit. You should be able to do it.

      *We use the 3.4 version of Moodle

        Attachments

        1. nopermissionsteacher.png
          nopermissionsteacher.png
          36 kB
        2. Step 1.png
          Step 1.png
          460 kB
        3. Step 3 and 4.png
          Step 3 and 4.png
          224 kB

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              natbrassard Natacha Brassard
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: