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

        admin Paul Phillips created issue -
        tyson Tyson Phillips (Inactive) made changes -
        Field Original Value New Value
        Story Points 1
        tyson Tyson Phillips (Inactive) made changes -
        Rank Ranked higher
        tyson Tyson Phillips (Inactive) made changes -
        Rank Ranked higher
        tyson Tyson Phillips (Inactive) made changes -
        Sprint 4.3.0 Sprint 6 [ 56 ]
        tyson Tyson Phillips (Inactive) made changes -
        Rank Ranked lower
        tyson Tyson Phillips (Inactive) made changes -
        Description 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.
        Update the Download Manager such that when an unauthenticated user views a download section, it display a message
        # Either check whether there are hidden files and display a message indicating this
        #* "You must log in to view downloads in this section."
        # 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.
        tyson Tyson Phillips (Inactive) made changes -
        Fix Version/s 4.3.0-b1 [ 11019 ]
        tyson Tyson Phillips (Inactive) made changes -
        Fix Version/s 4.3.0 [ 11022 ]
        jonathan Jonathan Reissmueller made changes -
        Assignee Jonathan Reissmueller [ jonathan ]
        Automated transition triggered when Jonathan Reissmueller created a branch in Stash -
        Status Open [ 1 ] In Progress [ 3 ]
        jonathan Jonathan Reissmueller made changes -
        Remaining Estimate 0 minutes [ 0 ]
        Time Spent 25 minutes [ 1500 ]
        Worklog Id 10924 [ 10924 ]
        Automated transition triggered when Jonathan Reissmueller created pull request #5 in Stash -
        Status In Progress [ 3 ] In Review [ 5 ]
        Resolution Fixed [ 1 ]
        tyson Tyson Phillips (Inactive) made changes -
        Sprint 4.3.0 Sprint 6 [ 56 ] 4.3.0 Sprint 6, 4.3.0 Sprint 7 [ 56, 57 ]
        tyson Tyson Phillips (Inactive) made changes -
        Rank Ranked higher
        jonathan Jonathan Reissmueller made changes -
        Time Spent 25 minutes [ 1500 ] 38 minutes [ 2280 ]
        Worklog Id 10951 [ 10951 ]
        Automated transition triggered when Tyson Phillips (Inactive) merged pull request #5 in Stash -
        Status In Review [ 5 ] Closed [ 6 ]

          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