[open-ils-commits] [GIT] Evergreen ILS branch master updated. 2db335069b260e6f884aebdcb4c9ee0375476b0a

Evergreen Git git at git.evergreen-ils.org
Tue Sep 13 13:54:43 EDT 2016


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, master has been updated
       via  2db335069b260e6f884aebdcb4c9ee0375476b0a (commit)
      from  8284edcdd3de5392b4265f3ee2e806dda761cdc1 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 2db335069b260e6f884aebdcb4c9ee0375476b0a
Author: Dan Wells <dbw2 at calvin.edu>
Date:   Tue Sep 13 13:40:43 2016 -0400

    LP#1620803 Add missing workstation passthru to AuthProxy
    
    The AuthProxy.pm login function was not passing through a possible
    'workstation' parameter to auth_internal's 'session.create' method.
    Without this, all login's end up with a workstation set to the user's
    home_ou, which can affect things including opt-in and transit
    behaviors.
    
    While not needed for the initial 'user.validate', it seems cleaner
    and simpler to just bring it over when constructing the initial
    $args hash.
    
    Signed-off-by: Dan Wells <dbw2 at calvin.edu>
    Signed-off-by: Dan Scott <dscott at laurentian.ca>

diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/AuthProxy.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/AuthProxy.pm
index 66a1b71..1f7832c 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/Application/AuthProxy.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/AuthProxy.pm
@@ -258,6 +258,7 @@ sub login {
                 my $trimmed_args = {
                     user_id => $args->{user_id},
                     login_type => $args->{type},
+                    workstation => $args->{workstation},
                     org_unit => $args->{org}
                 };
                 $event = &_auth_internal('user.validate', $trimmed_args);

-----------------------------------------------------------------------

Summary of changes:
 .../perlmods/lib/OpenILS/Application/AuthProxy.pm  |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list