mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 20:45:00 -05:00
The .js-archive handler in cardDetails.js lacked the Utils.canModifyCard() guard that every other mutating card action has, so a comment-only member could trigger archiving in the UI (the server allow-rule already rejected the write, so this closes the client-side UX gap). Guard added via pure canArchiveCard helper. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>