]> git.evergreen-ils.org Git - Evergreen.git/commit - Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm
LP#1350042 detect is-staff mode for browser client
authorBill Erickson <berick@esilibrary.com>
Mon, 4 Aug 2014 17:16:02 +0000 (13:16 -0400)
committerBen Shum <bshum@biblio.org>
Fri, 29 Aug 2014 20:12:09 +0000 (16:12 -0400)
commit9aa9269eddd6e43b10b8ad8245eda0e887422f52
tree009c9b9c129f91fce1590d65df3b548037421acf
parent7df9dd0aeccdd87e156ab499e2408f550dc0a3d7
LP#1350042 detect is-staff mode for browser client

The browser client does not pass an OILS-Wrapper header to the embedded
catalog (etc.) so consider the presence of a workstation an indication
that the TPAC should operate in staff mode.

NOTE: this may require some additional thought, since this means all
TPACs within an authenticated browser will run in staff mode, which may
not be desired.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm