bitwarden / android

Bitwarden mobile app for Android.
https://bitwarden.com
GNU General Public License v3.0
6.42k stars 809 forks source link

Collection is not visible if two accounts are logged in #3768

Open calebdias opened 2 months ago

calebdias commented 2 months ago

Bitwarden Beta

Steps To Reproduce

  1. Log in with a BW account (account "A") that has access to an Organization's Collection.
  2. From the same app, log in to a different BW account (account "B") that has access to the same Collection.
  3. Now switch back to account "A". The collection is no longer visible.

Expected Result

Ability to sign in with two BW accounts and access a shared Collection from each. (This works as expected in the legacy app).

Actual Result

When I log in with two BW accounts that have access to the same Collection, only the second BW account can see the Collection.

Screenshots or Videos

No response

Additional Context

Upon initial login, account "A" has access to the shared Collection as expected. Only once account"B" logs in, does account "A" lose access to the Collection.

Build Version

2024.7.3 (18938)

Environment Details

Google Pixel 7a, GrapheneOS.

Issue Tracking Info

bitwarden-bot commented 2 months ago

Thank you for your report! We've added this to our internal board for review. ID: PM-11034

sammbw commented 2 months ago

Hi there,

I am unable to reproduce this issue, it has been escalated for further investigation. If you have more information that can help us, please add it below.

Thanks!

starktower007 commented 2 months ago

I could reproduce this issue and it does indeed behave as @calebdias pointed out.

I also noticed that even logging out account "B" doesn't show the collection back in account "A".

The only ways to show the collection again in account A are

If you log out and log in from account "B" again, the collection again shows up only in account B.

calebdias commented 2 months ago

Hi there,

I am unable to reproduce this issue, it has been escalated for further investigation. If you have more information that can help us, please add it below.

Thanks!

Thank you for looking into this. Let me know if there are any specific questions I can answer, or ways I can help with further testing.

justrightlizard commented 1 month ago

I can reproduce the issue using the exact same steps from @calebdias's initial post and @starktower007's comment.

Here are a few notes about my situation:

  1. Using version 2024.9.1 (19099)
  2. Account A is a premium user.
  3. Account B is a free user.
  4. Using the free tier of organizations.
  5. Two collections created in total.
  6. Account A has the Owner role
  7. Account B has the User role.
  8. Account A has the "can manage" permission for both collections.
  9. Account B has the "can edit" permission for both collections

I'm not sure how much of that matters, but I figured I'd add as much detail about the situation as possible.