-
Notifications
You must be signed in to change notification settings - Fork 1.5k
[PM-26377] Correcting Auto Confirm Handler Provider Check #6681
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
Conversation
|
Claude finished @jrmccannon's task —— View job Code Review Complete ✅I've reviewed the PR changes for PM-26377 and have the following feedback: SummaryThis PR fixes a bug where users who are part of a provider were still allowed to remain in an organization when enabling the Auto Confirm policy. The fix correctly changes the provider validation logic to check users in the organization against provider memberships, rather than checking if the organization is managed by a provider. Key Changes Analysis✅ Core Bug Fix (AutomaticUserConfirmationPolicyEventHandler.cs)What Changed:
Why This Matters: Code Quality: ✅ Good
✅ New Repository Method (GetManyByManyUsersAsync)Implementation Quality:
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #6681 +/- ##
==========================================
+ Coverage 53.35% 57.26% +3.90%
==========================================
Files 1912 1917 +5
Lines 85138 85512 +374
Branches 7633 7673 +40
==========================================
+ Hits 45423 48965 +3542
+ Misses 37967 34703 -3264
- Partials 1748 1844 +96 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
|
mkincaid-bw
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor formatting issue.
src/Sql/dbo/Stored Procedures/ProviderUser_ReadManyByManyUserIds.sql
Outdated
Show resolved
Hide resolved
util/Migrator/DbScripts/2025-12-03_00_ProviderUserGetManyByUserIds.sql
Outdated
Show resolved
Hide resolved
mkincaid-bw
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM


🎟️ Tracking
PM-26377
📔 Objective
Users that were part of a provider were still allowed to be in an org when enabling Auto Confrim policy.
⏰ 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