Skip to content

Unauthorized Message Deletion: The person that's owed money can delete messages of the other iouReport participant. #21038

@kavimuru

Description

@kavimuru

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. Go to web chrome and login with User A
2. Create a group with User B and User C
3. Click on add and split money in the group
This will generate individual message to Recepients User B and C
4. Go to User B and click on the message or go to the chat and click on the split money message
5. Write some messages as User B
6. Go to User A and try to delete the messages.

TRJ Edit:

  1. send a request from userA to userB, such that userA is owed money
  2. As userB write a couple of messages on the iouReport directly
  3. As userA hover over the message(s) and click the trashcan icon

Expected Result:

userA should NOT be able to delete UserB's messages on an iouReport

Actual Result:

UserA is able to delete UserB's messages

Workaround:

Can the user still use Expensify without this being fixed? Have you informed them of the workaround?

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.29-0
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

Comment here on why I think this is happening. We need to exclude iouReports from the new "admin delete" logic.

unauthorised.deletion.mp4
message.delete.iou.mp4

Expensify/Expensify Issue URL:
Issue reported by: @avi-shek-jha
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1686343933703009

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~017c8b2f6ee327ce37
  • Upwork Job ID: 1670890147893735424
  • Last Price Increase: 2023-06-19

Metadata

Metadata

Labels

BugSomething is broken. Auto assigns a BugZero manager.DailyKSv2EngineeringInternalRequires API changes or must be handled by Expensify staffReviewingHas a PR in review

Type

No type
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