[Koha-bugs] [Bug 15823] Can still access patron discharge slip without having the syspref on - Permissions breach
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Apr 26 06:41:18 CEST 2016
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15823
Marc Véron <veron at veron.ch> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #50685|0 |1
is obsolete| |
--- Comment #9 from Marc Véron <veron at veron.ch> ---
Created attachment 50707
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=50707&action=edit
Bug 15823: Can still access patron discharge slip without having the syspref on
EDIT: Fix for OPAC side
To test:
1) Ensure syspref useDischarge is disabled
2) Go to /cgi-bin/koha/members/discharge.pl?borrowernumber=X&discharge=1
3) Validate that you are still able to generate a discharge slip for this
patron
4) Apply patch and refresh page
5) Confirm that you are redirected to the circulation.pl page for the user and
that an error message is there.
OPAC SIDE
6) Go to the OPAC
7) Go to /cgi-bin/koha/opac-discharge.pl
8) Confirm you get a message saying discharges are disabled
9) Go to /cgi-bin/koha/opac-discharge.pl?op=request
10) Confirm you see same message
Sponsored-by: Catalyst IT
Followed test plan, works as expected (both staff client and OPAC).
Signed-off-by: Marc Véron <veron at veron.ch>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list