https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44088 --- Comment #2 from David Nind <david@davidnind.com> --- Created attachment 211558 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211558&action=edit Bug 44088: Hide and disable printing of SHARE_INVITE content in Notices management SHARE_INVITE contains a secret: its link carries the invitation key for a private list, and anyone with that link can accept the share and read the list. Unlike PASSWORD_RESET, STAFF_PASSWORD_RESET, OPAC_REG_VERIFY and 2FA_OTP_TOKEN, its content was shown and printable in Notices management. Add SHARE_INVITE to the list of sensitive letter codes. To test: 1. Set 'NoticesManagement' to 'Enable' and 'OpacAllowSharingPrivateLists' to 'Allow' 2. Log in to the OPAC as koha/koha 3. Create a private list, then share it with friend@example.com 4. In a KTD shell, run: perl misc/cronjobs/process_message_queue.pl (KTD has no mail server, so the invitation is now 'failed') 5. Go to More > Tools > Notices management and click the subject 'Share list My list' 6. Without the patch the preview shows the invitation link with its key and a 'Print' button 7. Apply the patch, run restart_all and reload 8. Confirm the content is not displayed and there is no 'Print' button 9. Run: prove t/db_dependent/Koha/Notice/Message.t 10. Run: yarn cypress run --spec t/cypress/integration/Tools/NoticesManagement_spec.ts Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.