Expensify / App

Welcome to New Expensify: a complete re-imagination of financial collaboration, centered around chat. Help us build the next generation of Expensify by sharing feedback and contributing to the code.
https://new.expensify.com
MIT License
3.57k stars 2.91k forks source link

Support-Logged-In Agents Can Appear to Delete Workspaces in NewDot Without Actual Deletion or Error Message #52854

Open m-natarajan opened 1 day ago

m-natarajan commented 1 day ago

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


Version Number: Reproducible in staging?: Needs Reproduction(No access to supportal) Reproducible in production?: Needs Reproduction(No access to supportal) If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: 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 Expensify/Expensify Issue URL: Issue reported by: @RachCHopkins Slack conversation (hyperlinked to channel name): ts_external_expensify_bugs

Action Performed:

  1. Login in to a newdot account as support agent
  2. Delete a workspace

Expected Result:

When a support agent attempts to delete a customer's workspace in NewDot while support-logged-in: 1.The UI should display an appropriate error message, similar to OldDot, indicating that the deletion is not allowed. 2.The workspace should remain visible and unchanged in the UI. 3.The UI should not give any misleading indication that the workspace has been successfully deleted.

Actual Result:

The UI appears to allow the deletion, showing no error message. Even after refreshing, the workspace seems to be deleted from the NewDot Upon returning to the main Supportal page, the workspace is still present, confirming it was not actually deleted.

Workaround:

Unknown

Platforms:

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

Screenshots/Videos

Add any screenshot/video evidence

https://github.com/user-attachments/assets/2faee817-41d7-4636-ac0a-ba5a26fb96ac

2024-11-20_08-43-14

View all open jobs on GitHub

melvin-bot[bot] commented 1 day ago

Triggered auto assignment to @MitchExpensify (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

MelvinBot commented 1 day ago

This has been labelled "Needs Reproduction". Follow the steps here: https://stackoverflowteams.com/c/expensify/questions/16989

RachCHopkins commented 1 day ago

@MitchExpensify I'm happy to manage this one, but would you mind confirming that you can repro from your own NewDot supportal?

allgandalf commented 1 day ago

please also assign me here with @RachCHopkins , we are going back and forth on this one on slack 👋