tmail-backend
tmail-backend copied to clipboard
Deleted Message vault: disable user to restore too old messages
Why?
While restauring messages as a user is great
I feel uneasy with the current implementation (maximum 5 message restaured).
I can quickly script this to get all the deleted messages thus defeating the deletion.
What?
We can simply say After deleting a message a user have 2 weeks (configurable) to restore an and can restore max 5 messages at a time.
Have a configuration option in deletedMessageVault.properties :
user.restauration.period=15d
How?
JMAP frontend alter the deletion date filter: after or equal to the 15 day orizon
Definition of done
- [ ] Tests (Use the UpdatableTickingClock extension)
- [ ] Doc is updated