Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-14813 Moodle 3.10 QA
  3. MDLQA-15309

CLONE - A user can access WebDav repository with basic authentication

    XMLWordPrintable

    Details

      Description

      Test pre-requisites

      • WebDAV server supporting SSL (HTTPS)
      • Two WebDAV shares with Basic authentication
      • WebDAV repository enabled
      • Authenticated user role allowed to view WebDAV repositories
      • Two different WebDAV instances in Moodle:
        • 'WebDAV HTTP + basic authentication
        • 'WebDAV HTTPS + basic authentication
      • Each share should contain multiple directories, sub directories, and files on every level.
      • Some directories and files must contain non-ascii characters

      Test steps

      1. Go to your private files
      2. Click on add
      3. Navigate to each WebDAV repository
      4. From each of them, make sure:
      • You can navigate in every directory
      • You can download any file
      • Files downloaded are correctly saved (check their content)

      WebDAV Apache configuration file which can be refereed

      This is an example configuration for the two shares

      /etc/apache2/conf.d/webdav.conf

      Alias /webdav /var/www/webdav
      <Location /webdav>
        Dav On
        AuthType Basic
        AuthName "webdav"
        AuthUserFile /var/www/webdav/passwd.dav
        Require valid-user
       </Location>
       
      DavDepthInfinity On
      

        Attachments

        1. webdav-config-insecure.png
          webdav-config-insecure.png
          828 kB
        2. webdav-config-ssl.png
          webdav-config-ssl.png
          826 kB
        3. webdav-repo-insecure.png
          webdav-repo-insecure.png
          832 kB
        4. webdav-repo-ssl.png
          webdav-repo-ssl.png
          905 kB

          Activity

            People

            Assignee:
            basbrands Bas Brands
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: