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

Option to disable adding new files to legacy course files

    XMLWordPrintable

Details

    • MOODLE_25_STABLE
    • MOODLE_26_STABLE
    • Hide
      1. Enable legacyfilesinnewcourses, and make sure legacyfilesaddallowed is checked.
      2. Create a course, and set Legacy Course Files to on in the course settings.
      3. In the course admin block, follow the link to Legacy Course Files.
      4. Edit the files, and verify that you can add files and directories.
      5. Save the files you have added.
      6. Set legacyfilesaddallowed to unchecked.
      7. Return to the legacy course files editing page.
      8. Verify that you don't see the 'Add...' and 'Create folder' buttons, and that drag and drop upload gives you an error.
      9. Verify that you can delete files and folders.
      Show
      Enable legacyfilesinnewcourses, and make sure legacyfilesaddallowed is checked. Create a course, and set Legacy Course Files to on in the course settings. In the course admin block, follow the link to Legacy Course Files. Edit the files, and verify that you can add files and directories. Save the files you have added. Set legacyfilesaddallowed to unchecked. Return to the legacy course files editing page. Verify that you don't see the 'Add...' and 'Create folder' buttons, and that drag and drop upload gives you an error. Verify that you can delete files and folders.

    Description

      In an effort to wean users off of legacy files, we have implemented a patch that prevents users from adding files to Legacy Files, but they can still access and delete them. We feel this will be helpful for other schools.

      Attachments

        Activity

          People

            emerrill Eric Merrill
            emerrill Eric Merrill
            Dan Poltawski Dan Poltawski
            Sam Hemelryk Sam Hemelryk
            Rajesh Taneja Rajesh Taneja
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, Sara Arjona (@sarjona), Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Sujith Haridasan, Matteo Scaramuccia, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              18/Nov/13