tmail-backend icon indicating copy to clipboard operation
tmail-backend copied to clipboard

Deleted Message vault: disable user to restore too old messages

Open chibenwa opened this issue 1 year ago • 0 comments

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

chibenwa avatar Sep 25 '24 14:09 chibenwa