Files
wekan/server/methods
Lauri Ojansivu f5d20a18d7 Let administrators review legacy rule emails instead of leaving them stuck.
A rule email prepared before commands recorded their source (no source
binding), or one with card Details whose binding predates the related-
source chain, is refused by dispatch and was waiting for a recovery that
did not exist. Admin Panel -> Problems -> Recovery now lists them with
their board, card, recipients, subject and reason. Nothing runs them
automatically. An administrator re-binds one - its content is prepared
again from the card as it is now, after re-checking that the rule's
author is enabled with write access and that the rule and action are
unchanged - or discards it, which records a dropped attempt so the rule
stage completes without mail. Each decision writes one immutable audit
record, is serialized per command, and is final once an attempt exists.

Unit, MongoDB integration and source tests cover listing, re-bind,
discard and every refusal, and pin that only the admin methods call
them; a Playwright case covers review and discard. New interface text is
in English, pending translation.

Thanks to xet7 !
2026-09-30 01:49:49 +03:00
..