Details
Description
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.
Activity
Field | Original Value | New Value |
---|---|---|
Story Points | 1 |
Rank | Ranked higher |
Rank | Ranked higher |
Sprint | 4.3.0 Sprint 6 [ 56 ] |
Rank | Ranked lower |
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. |
Fix Version/s | 4.3.0-b1 [ 11019 ] |
Fix Version/s | 4.3.0 [ 11022 ] |
Assignee | Jonathan Reissmueller [ jonathan ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Remaining Estimate | 0 minutes [ 0 ] | |
Time Spent | 25 minutes [ 1500 ] | |
Worklog Id | 10924 [ 10924 ] |
Status | In Progress [ 3 ] | In Review [ 5 ] |
Resolution | Fixed [ 1 ] |
Sprint | 4.3.0 Sprint 6 [ 56 ] | 4.3.0 Sprint 6, 4.3.0 Sprint 7 [ 56, 57 ] |
Rank | Ranked higher |
Time Spent | 25 minutes [ 1500 ] | 38 minutes [ 2280 ] |
Worklog Id | 10951 [ 10951 ] |
Status | In Review [ 5 ] | Closed [ 6 ] |