6.0.0-alpha14
7/2/25

[#7324] "We're closed" functionality
Summary "We're closed" functionality
Queue Horde Base
Queue Version 3.2.2
Type Enhancement
State Rejected
Priority 1. Low
Owners
Requester webadmin (at) ualberta (dot) ca
Created 09/11/2008 (6138 days ago)
Due
Updated 09/11/2008 (6138 days ago)
Assigned
Resolved 09/11/2008 (6138 days ago)
Milestone
Patch No

History
09/11/2008 09:44:18 PM Chuck Hagenbuch Comment #5 Reply to this comment
You should have a separate webapp that can push a new configuration 
file to Horde. Anything else that let an end user go into Horde itself 
and hit a button would either need a separate config - again, shared 
across a cluster - and/or would probably be brought down by the same 
issue you were trying to use the button for (permissions checking, ... 
etc.).
09/11/2008 07:37:41 PM Jan Schneider Comment #4
State ⇒ Rejected
Reply to this comment
Also, you can set 'horde' to 'inactive' in the registry.
09/11/2008 07:37:18 PM webadmin (at) ualberta (dot) ca Comment #3 Reply to this comment
Good point re: the database.  But what other mechanism could one use 
across a cluster?



With regards to a postauthenticate hook, yes that'd work.  Basically I 
was looking for something that could be modified from the GUI (like 
alarms) so that it didn't have to be an admin who was intimately 
familiar with the horde code who would have to do it.  If I'm not 
around when things go kablooie we need to be able to have a 
straightforward way close the doors.  At the moment I go into our 
firewall and redirect connections to a static "we're broke" message 
but that's not a particularly elegant solution.
09/11/2008 07:26:17 PM Chuck Hagenbuch Comment #2
State ⇒ Feedback
Reply to this comment
Aside from reading it from the database, what would this do that you 
couldn't do now with a postauthenticate hook that just returned false? 
And if you do put it in the database, how will it help you when the 
database is down?
09/11/2008 06:38:58 PM webadmin (at) ualberta (dot) ca Comment #1
Priority ⇒ 1. Low
Type ⇒ Enhancement
Summary ⇒ "We're closed" functionality
Queue ⇒ Horde Base
Milestone ⇒
Patch ⇒ No
State ⇒ New
Reply to this comment
It would be enormously handy to have a way to prevent logins across 
the board.  For example if the mailservers, memcache servers, or 
database go down we'd like to be able to flip a switch and all logins 
would be temporarily disabled until we fix the problem.  It would be 
also helpful to be able to set a notice message at the same time which 
would notify users of the system problems.  This would need to be 
stored in the database to be able to affect all machines in the cluster.

Saved Queries