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

Capability moodle/user:ignoreuserquota is not respected in Private Files

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.4.5, 2.5.1
    • 2.4.4, 2.5
    • Files API
    • None
    • MOODLE_24_STABLE, MOODLE_25_STABLE
    • MOODLE_24_STABLE, MOODLE_25_STABLE
    • MDL-40036-master
    • Hide
      1. Set userquota to 1000
      2. Create a role 'No user quota' with allow on moodle/user:ignoreuserquota
      3. Create a user and give him that role on a system context
      4. Log in as that user
      5. Go to your private files
      6. Make sure you can upload files more than 1kb, but less than the setting maxbytes
      7. Make sure file remain in area after saving
      Show
      Set userquota to 1000 Create a role 'No user quota' with allow on moodle/user:ignoreuserquota Create a user and give him that role on a system context Log in as that user Go to your private files Make sure you can upload files more than 1kb, but less than the setting maxbytes Make sure file remain in area after saving

      The capability moodle/user:ignoreuserquota should allow a user to upload unlimited content to their private files, but this is not the case.

      Replication steps

      1. Set userquota to 1000
      2. Create a role 'No user quota' with allow on moodle/user:ignoreuserquota
      3. Create a user and give him that role on a system context
      4. Go to your private files

      Actual

      • You cannot upload files bigger than 1kb

      Expected

      • You can upload files up to maxbytes setting

            fred Frédéric Massart
            fred Frédéric Massart
            Rajesh Taneja Rajesh Taneja
            Sam Hemelryk Sam Hemelryk
            Michael de Raadt Michael de Raadt
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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