fix: cap account deletion grace at 30 days - #461
Conversation
|
Approach I will add MaxDeletionGraceDays to AppConstants, compute the existing deletion candidate in ConfirmAccountDeletionCommandHandler, and clamp that candidate to the 30-day ceiling. I will extend ConfirmAccountDeletionCommandHandlerTests with the requested Pro, boundary, Free, trial, expired-plan, and invalid-code cases, first proving the long-term Pro case fails before changing production code. This keeps the rule at the command that owns deletion scheduling. Putting the clamp in User.Deactivate would silently change other callers, while removing the paid-through branch belongs to ORB-109. No entity, database, migration, social-table, contract, or mobile change is needed. |
|
DEGRADED: same-vendor review The known same-vendor bias direction is toward more favorable judgments; its magnitude here is unmeasured. Head: APPROVED BY PR-REVIEW: zero blocking findings Findings and follow-ups:
Coverage:
N/A dimensions:
|
|
DEGRADED: same-vendor review Same-vendor bias direction is known, but its magnitude in this review is unmeasured. APPROVED BY PR-REVIEW: zero blocking findings
Dimension results:
|
|



DEGRADED: same-vendor review
Summary
Scope
Validation
Work item
ORB-97