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

Allow plugin files to be served without a session lock

XMLWordPrintable

      All plugins files get a session lock, then find the right callback, do the ACL checks, then either explicitly unlock the session and serve the file, or serve the file which does that for you.

      But almost no plugin files actually mutate the session intentionally. I don't think it is safe to assume they won't but for those which we know to be safe I think we can throw on an optional query param which avoids the lock in the first place:

      /pluginfile.php/123/course/overviewfiles/12345.jpg?lock=0

      Scorm would be a good candidate for this.

            Unassigned Unassigned
            brendanheywood Brendan Heywood
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

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