]> git.ipfire.org Git - thirdparty/rspamd.git/commit
[Minor] Expose Errors history to read-only mode 6156/head
authorAlexander Moisseev <moiseev@mezonplus.ru>
Mon, 27 Jul 2026 10:42:20 +0000 (13:42 +0300)
committerAlexander Moisseev <moiseev@mezonplus.ru>
Mon, 27 Jul 2026 10:42:20 +0000 (13:42 +0300)
commit3edd7d7d5c6f94a59deb0b850c6e2c150edb9cba
tree440127c17772449901bea07eabdde344804ea088
parent4798a429857a8e5b09df2160046e503175de2e4f
[Minor] Expose Errors history to read-only mode

The /errors endpoint and its WebUI table were gated behind the
enable (privileged) password. Lower the privilege check so any
authenticated user can view them.

This is safe: the endpoint returns only Rspamd's internal
operational error log (timestamp, pid, level, module, message) —
no email content, PII, or secrets — and read-only users already
see strictly more sensitive data in the History tab (sender/
recipient IPs, scores, symbols). Authentication remains required
and the endpoint is purely informational (no mutation).
interface/index.html
interface/js/app/history.js
src/controller.c