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

Deprecate webservice that allows uploads directly to private files (and provide alternative)

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 2.5
    • Fix Version/s: None
    • Component/s: Files API, Web Services
    • Labels:
    • Affected Branches:
      MOODLE_25_STABLE

      Description

      The preferred way to upload files from a webservice is be to upload to a draft area and then call a specific function to copy from the draft area to the proper component area in Moodle (and apply restrictions at that time).

      Currently there is support for uploading direct to the users private files area, but we should deprecate that and provide an alternative which uses the draft area.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                damyon Damyon Wiese
                Participants:
                Component watchers:
                Matteo Scaramuccia, Jake Dallimore, Jun Pataleta, Ryan Wyllie, Juan Leyva, Jake Dallimore, Jun Pataleta, Ryan Wyllie
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: