TPac: Use workstation to determine staff user/tsbere/tpac_staff_check
authorThomas Berezansky <tsbere@mvlc.org>
Tue, 11 Oct 2011 20:55:12 +0000 (16:55 -0400)
committerThomas Berezansky <tsbere@mvlc.org>
Tue, 11 Oct 2011 20:55:12 +0000 (16:55 -0400)
commit5281005f8a55cb93cefe60e2058479f1da9230b5
tree312785a16bcf4c5de40fd5e837ed0830d6191898
parent9ef0d32e369c0501746dd0cc3edfb81a7cecff43
TPac: Use workstation to determine staff

Instead of user agent, which may be set easily by anyone, use the presence
of a workstation ID to determine "staff" use of the TPac.

This is much less likely to be spoofed or incorrect due to things like
previous use of the extension version of the client in Firefox.

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm