Skip to content

[HOLD - #21977] Web - Users can download attachments when viewing attachment previews as anonymous users #22638

Description

@kbecciv

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Action Performed:

  1. Logout current user or open web app in private mode
  2. Open any room as an anonymous user. SNH room for example: https://staging.new.expensify.com/r/5303403427249671
  3. HOVER on any attached image in the chat room and click Download option on the context menu
    Observer: User is UNABLE to download the image and re-directed to Login page
  4. Open that room at step 2 again and CLICK on any attached image
  5. Click download button on the Attachment preview
    Observer: User is now ABLE to download the image - this is opposite to the behavior at step 3

Expected Result:

The behavior of the download attachment function should be consistent between the context menu and attachment preview.

Actual Result:

Users are unable to download attachments from the context menu, but they are able to download them from the attachment preview.

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android / native
  • Android / Chrome
  • iOS / native
  • iOS / Safari
  • MacOS / Chrome / Safari
  • MacOS / Desktop

Version Number: 1.3.39-5
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation

Download-function.mp4
Recording.3548.mp4

Expensify/Expensify Issue URL:
Issue reported by: @tranvantoan-qn
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1689053816447709

View all open jobs on GitHub

Metadata

Metadata

Assignees

Labels

BugSomething is broken. Auto assigns a BugZero manager.WeeklyKSv2

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions