Skip to content

[HOLD] - (Wait for API refactor as it will affect this) Workspace Room is not refreshed when member is removed from Workspace #8710

Description

@yuwenmemon

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. Create a workspace with user 1
  2. Go to the Manage members tab of the workspace, invite user 2
  3. Login to user 2 via incognito window, verify that there is a [Company Name]'s Workspace chat room shown in LHN
  4. Navigate back to user 1 session, remove user 2 from the policy
  5. Navigate back to user 2 session

Expected Result:

User 2 should see the workspace room as archived now that they are no longer a member of the workspace.

Actual Result:

The UI shows that User 2 can still send messages in the workspace room and that it is active, even though User 2 has no such access. User 2 needs to refresh the page before they see that the room is archived.

Workaround:

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

Platform:

  • Web
  • iOS
  • Android
  • Desktop App
  • Mobile Web

Reproducible in staging?: Yes
Reproducible in production?: Yes
Notes/Photos/Videos:
https://user-images.githubusercontent.com/4741899/164336918-76689a49-f498-4b93-a670-12604e6f704d.mp4

Coming from: #8437 (comment)

View all open jobs on GitHub

Metadata

Metadata

Assignees

Labels

BugSomething is broken. Auto assigns a BugZero manager.DailyKSv2EngineeringPlanningChanges still in the thought process

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