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

Option to disable adding new files to legacy course files

    Details

    • Testing Instructions:
      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.
    • Affected Branches:
      MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_26_STABLE
    • Pull Master Branch:

      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.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  18/Nov/13