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

Visitors unable to view/download files attached to database activity entry

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Labels:
      None
    • Environment:
      Windows XP, Moodle 2.0 Preview 4+ (Build: 20100829) on a local site.
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      I have a database activity on the frontpage (hidden in the main menu box).

      What I require is that of moodle.org theme database. No logon required to view or download entries and associated files.

      Currently a visitor can view entries but when clicking on the attached file are sent to the logon page. They need to be able to download the file without being logged in.

      If the database is part of a course allowing guest access, then guests can view and download the files as desired without prompting as I have the auto login guests set to yes.

      But as the database in on the frontpage, there is no option to "allow guest access" as there is with courses. Therefore visitors are not automatically logged in as a guest. They have the option to login as a guest on the login screen which then allows them download, but this is assuming the visitor knows about the guest option or could be bothered.

      I need visitors to be able to view databse entries and download attached files, either remaining as a visitor or being auto logged in as a guest, just like I can without being logged in on moodle.org (themes database).

      I have been able to replicate the problem on the QA site by adding a databse activity to the frontpage label.

        Attachments

          Activity

            People

            Assignee:
            skodak Petr Skoda
            Reporter:
            gsisson Glenn Sisson
            Tester:
            Nobody
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

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