[PM-5108] fix: Show all owners and admins in admin portal org view - #8099
[PM-5108] fix: Show all owners and admins in admin portal org view#8099r-tome wants to merge 2 commits into
Conversation
OrganizationViewModel was deriving an expected OrganizationUserStatusType from org.Status and filtering owners/admins to that single status. This caused confirmed owners to disappear when an org was in Pending state, which happens in the reseller flow while awaiting InitPendingOrganization.
🤖 Bitwarden Claude Code ReviewOverall Assessment: APPROVE Reviewed the removal of the Code Review DetailsNo code findings. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #8099 +/- ##
==========================================
+ Coverage 62.68% 62.71% +0.02%
==========================================
Files 2296 2298 +2
Lines 100051 100111 +60
Branches 9004 9006 +2
==========================================
+ Hits 62721 62788 +67
+ Misses 35147 35143 -4
+ Partials 2183 2180 -3 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
🎟️ Tracking
https://bitwarden.atlassian.net/browse/PM-5108
📔 Objective
OrganizationViewModelwas filtering owners and admins based on a statusderived from
Organization.Status, which caused the Administrators sectionto show "No results to list" even when owners existed. We were unable to
pinpoint exactly how an organization can reach the state that triggers this,
but it has been observed across multiple production support tickets.
These changes ensure customer support has all organization details available
when investigating issues:
OrganizationUserStatusType.The view already renders a Status column per row so the user state remains visible.
Organization.Statusis now displayed on the org page in the admin portal.Previously there was no way to see this from the UI, which made it harder
to diagnose organization setup issues.
📸 Screenshots