LP#1724915 Webstaff auth timeout works w/ multiple tabs user/berick/lp1724915-auth-check-noreset
authorBill Erickson <berickxx@gmail.com>
Thu, 19 Oct 2017 18:46:01 +0000 (14:46 -0400)
committerBill Erickson <berickxx@gmail.com>
Thu, 19 Oct 2017 20:06:48 +0000 (16:06 -0400)
commitaff63882ac6b193570a0abab64f7f7e6d9647b48
tree6405fb65693c3c9d305a2e43ecbb6d74817b5c36
parente2ebc526433ebd2d1afb7693d5efeb5fd29c092b
LP#1724915 Webstaff auth timeout works w/ multiple tabs

Adds a new API parameter to open-ils.session.retrieve which allows the
session to be fetched without extending the auth session timeout.

Teach the browser client to use the new API.

Teach the browser client to notify all webstaff tabs when a logout event
has occurred, so every tab can immediately log out.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/c-apps/oils_auth.c
Open-ILS/web/js/ui/default/staff/services/auth.js
Open-ILS/web/js/ui/default/staff/services/startup.js