-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[PM-16777] Fix exception when bulk restoring revoked users who never accepted invitations #5224
[PM-16777] Fix exception when bulk restoring revoked users who never accepted invitations #5224
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5224 +/- ##
==========================================
+ Coverage 44.02% 44.07% +0.05%
==========================================
Files 1476 1476
Lines 68260 68262 +2
Branches 6179 6180 +1
==========================================
+ Hits 30052 30089 +37
+ Misses 36902 36864 -38
- Partials 1306 1309 +3 ☔ View full report in Codecov by Sentry. |
New Issues (9)Checkmarx found the following issues in this Pull Request
Fixed Issues (10)Great job! The following issues were fixed in this Pull Request
|
🎟️ Tracking
https://bitwarden.atlassian.net/browse/PM-16777
📔 Objective
When attempting to bulk restore users who were invited to an organization but revoked before accepting the invitation, an exception is thrown. This prevents the restore process from completing successfully.
This is caused by trying to check if those users have 2FA enabled which requires a
UserId
which they have asnull
.⏰ Reminders before review
🦮 Reviewer guidelines
:+1:
) or similar for great changes:memo:
) or ℹ️ (:information_source:
) for notes or general info:question:
) for questions:thinking:
) or 💭 (:thought_balloon:
) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion:art:
) for suggestions / improvements:x:
) or:warning:
) for more significant problems or concerns needing attention:seedling:
) or ♻️ (:recycle:
) for future improvements or indications of technical debt:pick:
) for minor or nitpick changes