[PM-38792] feat: Enforce Send deletion date via Send Controls policy - #2910
Conversation
🤖 Bitwarden Claude Code ReviewOverall Assessment: APPROVE Reviewed the Send Controls Code Review DetailsNo blocking findings.
Notes considered and cleared during review:
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## matt/PM-40460-send-controls-restrict-send-type #2910 +/- ##
==================================================================================
- Coverage 81.66% 79.59% -2.08%
==================================================================================
Files 1049 1170 +121
Lines 67675 75327 +7652
==================================================================================
+ Hits 55264 59953 +4689
- Misses 12411 15374 +2963 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
4a790d9 to
e6e82db
Compare
| "NewSendCreated" = "Send created"; | ||
| "Custom" = "Custom"; | ||
| "SendDisabledWarning" = "Due to an enterprise policy, you are only able to delete an existing Send."; | ||
| "SendDeletionDateEnforcedByOrganization" = "This date is enforced by your organization"; |
There was a problem hiding this comment.
⛏️ Can't we use the key made from the value? ThisDateIsEnforcedByYourOrganization
🎟️ Tracking
PM-38792
📔 Objective
Adds enforcement of the new Send Controls policy
deletionHoursoption. When an organization restricts the Send deletion date, a non-owner/non-admin user sees the enforced deletion date pre-selected and locked on the Send add/edit screen, with helper text explaining the restriction. Also adds the previously-missing 14 days deletion option to the menu.📸 Screenshots