Open delfick opened 9 years ago
I would think a 'maintenance mode' would best be handled by Apache/web-server, and not within the application itself.
A bit of Googling turned up this example - http://www.shellhacks.com/en/Redirect-Site-to-Maintenance-Page-using-Apache-and-HTAccess . I haven't tested, but it should work fine with Rattic. I'm sure there are similar configurations for NGINX or any other web server used...
The problem with that is that you stop people being able to view passwords, which is something I feel is important for a maintenance mode of Rattic.
I must be misinterpreting what your intention is for a 'Maintenance Mode'.
If you're wanting to prevent changes to the DB (adding/changing of passwords, etc...), then you also need to disable read access to the passwords as well, so that integrity of audit trail for password views is maintained.
If maintenance mode is allowed to add audit info to DB, then why not also allow password add/modify?
ah yes, I forgot about the audit trail.... hmmm
Hello,
We have an inactive-active deployment mechanism for our rattic.
It would be very helpful if we could have a maintenance mode that can be activated so whilst we are doing the upgrade on inactive, no new keys are created or modified on the active instance.
Thanks
Stephen.