[PM-34601] Bump Group.RevisionDate on edits and access changes#7467
[PM-34601] Bump Group.RevisionDate on edits and access changes#7467
Conversation
When provided, bump Group.RevisionDate on affected groups during membership and collection-access changes. Defaults to NULL for backward compatibility.
Update IGroupRepository and IOrganizationUserRepository interfaces and their Dapper and Entity Framework implementations.
Inject TimeProvider into commands, services, and controllers to supply the timestamp when modifying group membership.
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #7467 +/- ##
==========================================
+ Coverage 59.25% 63.76% +4.51%
==========================================
Files 2081 2081
Lines 92036 92113 +77
Branches 8179 8185 +6
==========================================
+ Hits 54534 58736 +4202
+ Misses 35563 31351 -4212
- Partials 1939 2026 +87 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
…d XML documentation
🤖 Bitwarden Claude Code ReviewOverall Assessment: APPROVE This PR ensures Code Review DetailsNo findings. The change is well-structured with consistent patterns across all layers (API controllers, business logic commands/services, repository interfaces, Dapper repositories, EF repositories, and SQL stored procedures). Test coverage is thorough, including both unit tests with |
|
New Issues (9)Checkmarx found the following issues in this Pull Request
Fixed Issues (7)Great job! The following issues were fixed in this Pull Request
|
shane-melton
left a comment
There was a problem hiding this comment.
Vault change looks good!
8e2f886
|
@claude Can you please review this? |
|
Claude finished @JaredScar's task in 7m 46s —— View job Claude Code ReviewOverall Assessment: APPROVE Reviewed a 39-file change that threads a Code Review DetailsWhat was checked
Open question ❓ User account deletion (
|
|
* Add optional RevisionDate param to group sprocs When provided, bump Group.RevisionDate on affected groups during membership and collection-access changes. Defaults to NULL for backward compatibility. * Add migration for group RevisionDate bump * Add revisionDate param to group repository methods Update IGroupRepository and IOrganizationUserRepository interfaces and their Dapper and Entity Framework implementations. * Pass revisionDate through business logic to repos Inject TimeProvider into commands, services, and controllers to supply the timestamp when modifying group membership. * Update unit tests for group revisionDate param * Update and add integration tests for group revision * Enhance IGroupRepository and IOrganizationUserRepository with detailed XML documentation * Bump date on migration script * Bump date on migration script





🎟️ Tracking
https://bitwarden.atlassian.net/browse/PM-34601
📔 Objective
Ensure
Group.RevisionDateis updated whenever group membership or collection-group access is modified