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

--- Comment #8 from Olivia Reynolds <[email protected]> ---
Created attachment 204169
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=204169&action=edit
Bug 43086: (follow-up) Require checkbox consent to save details

There are reasonable privacy concerns around automatically saving
unauthenticated user details. If the OPAC is used on a shared machine,
future users can recover the information provided by past users.

This patch adds a "remember me" checkbox to the unauthenticated ILL
request form. If it is checked upon submit, the details are saved. If it
isn't checked, all existing stored details are deleted. The checkbox is
unchecked by default unless there is existing saved data.

Test plan:
1.  Enable the system preferences "ILLModule" and
    "ILLOpacUnauthenticatedRequest".
2.  In a logged-out OPAC window, navigate to
    /cgi-bin/koha/opac-illrequests.pl?op=create
3.  Choose the "Standard" provider for the new ILL request.
4.  Verify the "remember me" checkbox is unchecked at the bottom of the
    form.
5.  Check the "Remember me" checkbox.
6.  Make any valid request, noting the name, email address, and chosen
    library used.
7.  In the same OPAC session, navigate again to
    /cgi-bin/koha/opac-illrequests.pl?op=create
8.  Choose the "Standard" provider for the new ILL request.
9.  Verify that the name, email address, and chosen library are
    automatically filled with the same values used before.
10. Verify the "remember me" checkbox is checked.
11. Uncheck the "remember me" checkbox.
12. Make another valid request.
13. In the same OPAC session, navigate again to
    /cgi-bin/koha/opac-illrequests.pl?op=create
14. Choose the "Standard" provider for the new ILL request.
15. Verify no data is prefilled, and that the "remember me" checkbox is
    unchecked.

Sponsored-by: NHS England

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to