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

WebDAV repository not displayed for non-admin users

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 2.2.5, 2.3.2
    • 2.2.4, 2.3.1, 2.4
    • Repositories
    • MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE
    • MOODLE_22_STABLE, MOODLE_23_STABLE
    • MDL-34945-master
    • Hide

      Test pre-requisites

      • Enable the repository Flickr Public and WebDAV
      • Allow user and course instances for those repositories
      • Capability repository/webdav:view allowed for teacher (default)
      • Capability repository/webdav:view not set for student (default)

      Test #1

      1. Login as a teacher
      2. Navigate to Home ► Courses ► CATEGORY ► COURSE ► Repositories ► Course repositories
      3. Make sure you can create both Flickr and WebDAV instances in the course repositories
      4. Make sure both are displayed in the list of instances
      5. Make sure you can edit their settings

      Test #2

      1. Login as a student
      2. Navigate to Home ► My profile ► Repositories ► YOU ► Repositories
      3. Make sure you can create a Flickr instance
      4. Make sure the Flickr instance is displayed in the list
      5. Make sure you can edit the Flickr instance settings
      6. Make sure you CANNOT create a WebDAV
      Show
      Test pre-requisites Enable the repository Flickr Public and WebDAV Allow user and course instances for those repositories Capability repository/webdav:view allowed for teacher (default) Capability repository/webdav:view not set for student (default) Test #1 Login as a teacher Navigate to Home ► Courses ► CATEGORY ► COURSE ► Repositories ► Course repositories Make sure you can create both Flickr and WebDAV instances in the course repositories Make sure both are displayed in the list of instances Make sure you can edit their settings Test #2 Login as a student Navigate to Home ► My profile ► Repositories ► YOU ► Repositories Make sure you can create a Flickr instance Make sure the Flickr instance is displayed in the list Make sure you can edit the Flickr instance settings Make sure you CANNOT create a WebDAV

      When creating a private WebDAV repo as an editing teacher or a student (not tested with other roles), the repo isn't displayed in the list of available repository, nor in the filepicker.

      Steps to reproduce:

      1. Log in as an admin
      2. Activate "WebDAV repository" (Enabled and visible) in "Manage repositories" administration page.
      3. Check box "Allow users to add a repository instance into the user context" and save
      4. Observe under Settings: "0 User private instance(s)", then logout.
      5. Log in as a teacher or a student
      6. Click on "Repositories" under "My profile" in Navigation block
      7. Click on "Create "WebDAV repository" instance"
      8. Fill in the form and save
      9. After automatic redirection, observe that the WebDAV repository instance is not displayed in the table of available repos
      10. Navigate to "My private files" under "My profile" in Navigation block
      11. Click on "Add" to open the file picker
      12. Observe that the WebDAV repository instance is unavailable in the file picker

      Expected behaviour:

      • The WebDAV repository instance should be displayed in the table of available repos
      • The WebDAV repository instance should be available in the file picker

      Notes:

      • The repo instance in fact present, as seen when logged in as an admin in the "Manage repositories" administration page: "1 User private instance(s)"
      • This bug doesn't affect a admin user.

            fred Frédéric Massart
            mina Nicolas Martignoni
            Rajesh Taneja Rajesh Taneja
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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