]> git.evergreen-ils.org Git - Evergreen.git/commit - Open-ILS/xul/staff_client/server/OpenILS/util_overlay.xul
Require permission or pref to debug in client
authorThomas Berezansky <tsbere@mvlc.org>
Mon, 15 Aug 2011 12:59:31 +0000 (08:59 -0400)
committerJason Etheridge <jason@esilibrary.com>
Tue, 4 Oct 2011 18:22:51 +0000 (14:22 -0400)
commit8d748bd69eb6d75ad4c6fc7360bcae5e9a52a41a
tree62538eac9c821257d81ee64ee4b40dfa70f4c516
parent3cbc8a303e969243105a6e80104aec6b889aaf05
Require permission or pref to debug in client

Disables all debug functions I know of unless:

1 - You have new DEBUG_CLIENT permission (after login)

This should work even on operator change.
Once a given debug interface is open you can change operator back.

2 - You have a client with the debug preference enabled

This causes the client in all places I touched to think you have DEBUG_CLIENT
This also allows debugging *before* login, including in the Standalone interface.

Debug functions I know of:

Debug box on login page (already protected by pref)
Debug items in Admin menu
    Venkman
    Javascript Shells
    Inspector
    Chrome List
CTRL+SHIFT+F7 debug box in overlays

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Open-ILS/src/sql/Pg/950.data.seed-values.sql
Open-ILS/xul/staff_client/chrome/content/OpenILS/util_overlay_chrome.xul
Open-ILS/xul/staff_client/chrome/content/OpenILS/util_overlay_offline.xul
Open-ILS/xul/staff_client/chrome/content/auth/controller.js
Open-ILS/xul/staff_client/chrome/content/main/main.js
Open-ILS/xul/staff_client/chrome/content/main/menu.js
Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul
Open-ILS/xul/staff_client/server/OpenILS/util_overlay.xul