Koha-clms/members
Martin Renvoize 971e2ead4b
Bug 41749: Display patron consents on staff patron detail page
Adds a read-only "Consents" section to the staff patron detail page
showing the patron's consent status for GDPR (when PrivacyPolicyConsent
is enabled) and any plugin-defined consent types.

Each consent displays with visual status indicators:
- Green checkmark with timestamp when consent was given
- Red X with timestamp when consent was refused
- Gray "Not specified" when no consent recorded

Test plan:
1. Enable PrivacyPolicyConsent system preference
2. As patron in OPAC: give/refuse consent at "Your consents"
3. As staff: view patron detail page
4. Verify "Consents" section shows correct status and timestamp
5. Test with no consent recorded (should show "Not specified")
6. If available, test with plugin-defined consent types

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2026-02-06 15:17:28 -07:00
..
accountline-details.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
alert-subscriptions.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
apikeys.pl Bug 20638: Update apikeys.pl and template with proper exception handling 2026-01-22 09:26:01 -07:00
boraccount.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
cancel-charge.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
default_messageprefs.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
deletemem.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
discharge.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
discharges.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
files.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
holdshistory.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
housebound.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
ill-requests.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
mancredit.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
maninvoice.pl Bug 41076: Adjust our perl tidiness for v20250105 2026-02-05 09:03:51 -07:00
member-flags.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
member-password.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
member.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
memberentry.pl Bug 41076: Adjust our perl tidiness for v20250105 2026-02-05 09:03:51 -07:00
members-home.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
members-update-do.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
members-update.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
merge-patrons.pl Bug 35830: Add merge_borrowers subpermission 2025-10-31 15:26:14 -06:00
mod_debarment.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
moremember.pl Bug 41749: Display patron consents on staff patron detail page 2026-02-06 15:17:28 -07:00
notices.pl Bug 41076: Adjust our perl tidiness for v20250105 2026-02-05 09:03:51 -07:00
patronimage.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
pay.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
paycollect.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
print_overdues.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
printfeercpt.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
printinvoice.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
printnotice.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
printslip.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
purchase-suggestions.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
readingrec.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
recallshistory.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
routing-lists.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
setstatus.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
statistics.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
summary-print.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
two_factor_auth.pl Bug 30724: Fix selenium tests - fix logic if no borrowernumber passed 2025-10-16 15:20:16 -06:00
update-child.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00