Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-2586

Download Manager: Display a different message to unauthenticated users when viewing empty folders

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.2.0
    • Fix Version/s: 4.3.0-b1
    • Component/s: Plugins
    • Labels:
      None

      Description

      Update the Download Manager such that when an unauthenticated user views a download section, it display a message

      1. Either check whether there are hidden files and display a message indicating this
        • "You must log in to view downloads in this section."
      2. Or see that there are no hidden files (the directory is empty) and display the current message that there are no files in this directory

      When someone is viewing a directory within the Download Manager plugin and they are unauthenticated, there may be files in the directory that require them to be logged in (either based on their client group or purchase of a specific package.

      So, if the user is unauthenticated and there are no files displayed in the directory, but files are assigned to the directory which are not displayed due to file permissions, display a different message, like:

      "There are no downloads available in this section to guests. There may be downloads available here if you log in." with "log in" being a link to the client log in page.

      Otherwise, display the current message.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            jonathan Jonathan Reissmueller
            Reporter:
            admin Paul Phillips
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              15/Jun/18

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 38 minutes
              38m

                Agile