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>
Thu, 28 Aug 2014 02:02:30 +0000 (22:02 -0400)
commitbe057c2a61aa55937ff70c57d6677e572b0e03a1
tree6548fc065575ea070444025e9ad65eed646f8f9d
parent932bfda112fc3c26356ffcebdad874440fef9cd4
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