Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-14589 META: Develop new File API
  3. MDL-16394

user profile embedded files browsing and serving support

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Files API
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      the problem here is we need different control when browsing and when viewing, solution is to use different context when browsing and when viewing profile

      file browser will use usercontexidt/user_profile/0/ and userfile.php , this will be returned by file_browser too
      and when viewing profile we will use coursecontext/user_profile/userid/ and pluginfile.php

      committing patch soon

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                24/Nov/10