[Koha-bugs] [Bug 16492] Checkouts ( and possibly checkins and other actions ) will use the patron home branch as the logged in library

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue May 24 20:31:50 CEST 2016


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

Kyle M Hall <kyle at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #51391|0                           |1
        is obsolete|                            |
  Attachment #51744|0                           |1
        is obsolete|                            |

--- Comment #6 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 51745
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=51745&action=edit
Bug 16492 - Checkouts ( and possibly checkins and other actions ) will use the
patron home branch as the logged in library

Bug 14507 introduced the use of checkpw in C4::SIP::ILS::Patron so that
non-Koha internal authentication processes would be able to function via
SIP ( LDAP et al ).

The problem is that checkpw changes the userenv to that of the patron!
This is not usually an issue in Koha because most of the time that
patron running through checkpw is the one to be logged in.

Aside from SIP2 the only other area where this may be an issue is in SCO
when using SelfCheckoutByLogin.

Test Plan:
1) On master, check out an item to a patron via SIP2
2) Note the checkout lists the item as having been checked out
   from the patron's home library not matter which library is was
   supposed to be checked out from.
3) Apply this patch
4) Re-checkout the item
5) The item should now be checked out as if it was checked out from
   the library as defined in the SIP configuration file.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list