Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Hold #43508] Workspace - "Hidden" members appear in the list when a member leaves #42555

Open
1 of 6 tasks
lanitochka17 opened this issue May 23, 2024 · 31 comments
Open
1 of 6 tasks
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Hot Pick Ready for an engineer to pick up and run with Internal Requires API changes or must be handled by Expensify staff Monthly KSv2

Comments

@lanitochka17
Copy link

lanitochka17 commented May 23, 2024

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: 1.4.75-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: N/A
Issue reported by: Applause - Internal Team

Issue found when executing PR #41492

Action Performed:

  1. Admin: Log in as a new expensifail user
  2. Member: Log in as a new Gmail user in a different device
  3. Admin: Create a workspace
  4. Admin: Invite the member to the workspace
  5. Admin: Navigate to the Workspace member list page
  6. Admin: Open the member details page
  7. Member: Leave the workspace
  8. Admin: Click on "Go back to home page"

Expected Result:

Only real members of the workspace should be shown

Actual Result:

"Hidden" members appear in the list when a workspace member leaves

Workaround:

Unknown

Platforms:

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

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

Bug6489324_1716464062492.bandicam_2024-05-23_13-29-15-740.mp4

View all open jobs on GitHub

@lanitochka17 lanitochka17 added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels May 23, 2024
Copy link

melvin-bot bot commented May 23, 2024

Triggered auto assignment to @trjExpensify (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.

@lanitochka17
Copy link
Author

@trjExpensify FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

@lanitochka17
Copy link
Author

We think that this bug might be related to #wave-collect - Release 1

@trjExpensify
Copy link
Contributor

Commented on the issue the PR is attached to. CC: @alitoshmatov @tienifr @madmax330

@tienifr
Copy link
Contributor

tienifr commented May 24, 2024

@trjExpensify Hi, I took a look, this is not a regresison from that PR because reverting it does not solve the issue.

This is a BE problem. I notice that when the employee left the workspace, the Pusher sent to admin a very strange policy.employeeList value:

Screenshot 2024-05-24 at 19 38 53

employeeList is supposed to be a object mapping from an user's login to his details, but in this case, it's r032022+8626@gmail.com which is a part of the employee's login (tienifr032022+8626@gmail.com). I hope this helps with the debugging in BE.

@trjExpensify
Copy link
Contributor

Asking in #vip-vsb about the intent with this Leave functionality.

@melvin-bot melvin-bot bot added the Overdue label May 27, 2024
Copy link

melvin-bot bot commented May 27, 2024

@trjExpensify Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@trjExpensify
Copy link
Contributor

Didn't link the thread where we're discussing.

@melvin-bot melvin-bot bot removed the Overdue label May 28, 2024
@trjExpensify
Copy link
Contributor

Alright, so looks like this was missed. Members should be able to leave a workspace unless they're under domain control on both NewDot and OldDot.

This issue provides a bit of history on why that wasn't the case with a helpful comment from @iwiznia. That said, a lot has changed since then and Auth is aware of the employeeList now. 👍

Sending Internal.

@trjExpensify trjExpensify added Internal Requires API changes or must be handled by Expensify staff Hot Pick Ready for an engineer to pick up and run with labels May 28, 2024
@melvin-bot melvin-bot bot added the Overdue label May 30, 2024
Copy link

melvin-bot bot commented May 31, 2024

@trjExpensify Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@trjExpensify trjExpensify added Weekly KSv2 and removed Daily KSv2 labels Jun 3, 2024
@melvin-bot melvin-bot bot removed the Overdue label Jun 3, 2024
@trjExpensify
Copy link
Contributor

Waiting to be picked up in hot picks.

Copy link

melvin-bot bot commented Jun 6, 2024

@trjExpensify this issue was created 2 weeks ago. Are we close to a solution? Let's make sure we're treating this as a top priority. Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks!

@melvin-bot melvin-bot bot added the Overdue label Jun 12, 2024
@trjExpensify
Copy link
Contributor

No change.

@melvin-bot melvin-bot bot removed the Overdue label Jun 13, 2024
@melvin-bot melvin-bot bot added the Overdue label Jun 21, 2024
@trjExpensify
Copy link
Contributor

@Beamanator with the approvals work and behaviour around leaving a workspace, will this be cleaned up? I think it's somewhat linked to this weird dynamic of allowing someone to "leave" workspace on NewDot but not properly handled on the backend, as you can't do that on OldDot.

@melvin-bot melvin-bot bot removed the Overdue label Jun 24, 2024
@melvin-bot melvin-bot bot removed the Overdue label Aug 13, 2024
@melvin-bot melvin-bot bot added the Overdue label Aug 21, 2024
@trjExpensify trjExpensify changed the title Workspace - "Hidden" members appear in the list when a member leaves [Hold #43508] Workspace - "Hidden" members appear in the list when a member leaves Aug 23, 2024
@trjExpensify
Copy link
Contributor

Put this on hold for #43508

@melvin-bot melvin-bot bot removed the Overdue label Aug 23, 2024
@melvin-bot melvin-bot bot added the Overdue label Sep 2, 2024
@trjExpensify
Copy link
Contributor

Still held, Melv.

@melvin-bot melvin-bot bot removed the Overdue label Sep 2, 2024
@melvin-bot melvin-bot bot added the Overdue label Sep 11, 2024
@trjExpensify
Copy link
Contributor

No change.

@melvin-bot melvin-bot bot removed the Overdue label Sep 11, 2024
@melvin-bot melvin-bot bot added the Overdue label Sep 20, 2024
@trjExpensify
Copy link
Contributor

We're still held.

@melvin-bot melvin-bot bot removed the Overdue label Sep 23, 2024
@melvin-bot melvin-bot bot added the Overdue label Oct 1, 2024
@trjExpensify
Copy link
Contributor

Still holding.

@melvin-bot melvin-bot bot removed the Overdue label Oct 4, 2024
@melvin-bot melvin-bot bot added the Overdue label Oct 14, 2024
@trjExpensify
Copy link
Contributor

Still held.

@melvin-bot melvin-bot bot removed the Overdue label Oct 14, 2024
@melvin-bot melvin-bot bot added the Overdue label Oct 23, 2024
@trjExpensify
Copy link
Contributor

No change, still held.

@melvin-bot melvin-bot bot removed the Overdue label Oct 23, 2024
@melvin-bot melvin-bot bot added the Overdue label Oct 31, 2024
@trjExpensify
Copy link
Contributor

Still held. I'm dropping to monthly until there's traction on the other.

@melvin-bot melvin-bot bot removed the Overdue label Nov 1, 2024
@trjExpensify trjExpensify added Monthly KSv2 Overdue and removed Weekly KSv2 labels Nov 1, 2024
@melvin-bot melvin-bot bot removed the Overdue label Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. Hot Pick Ready for an engineer to pick up and run with Internal Requires API changes or must be handled by Expensify staff Monthly KSv2
Projects
Development

No branches or pull requests

5 participants