https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42503

--- Comment #24 from Tomás Cohen Arazi (tcohen) <[email protected]> ---
Created attachment 199351
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=199351&action=edit
Bug 42503: (follow-up) Respect HidePatronName system preference

The old server-rendered template hid patron name, phone and email
when HidePatronName was enabled, showing only the cardnumber.

This patch redacts patron personal fields server-side in the
controller when HidePatronName is set, keeping only patron_id,
cardnumber, category_id and the embedded category. The JS falls
back to displaying the cardnumber when surname is absent.

Superlibrarians are exempt from the redaction as they have
unrestricted access to patron data.

Signed-off-by: Tomás Cohen Arazi <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to