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

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: https://github.com/Expensify/App/pull/8437#issuecomment-1103958227

View all open jobs on GitHub

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 38 (32 by maintainers)

Most upvoted comments

Not much has been done the Refactor took priority this week, also my kids have both been sick so I had less time than usual, I’ll give this my top priority next week

sorry, was OOO, the last few days, let me look at it today, and see if it’s worth it make it an external or not.

@MitchExpensify Reassigning as I’m heading OOO for a month

I think we should put this on HOLD for now, the new API refactor will probably affect this, and fixing it would be a duplication of labor.