I want to dump my production database to my development environment; make some big changes; and then import it back to production.
Is there a module that will allow you to temporarily block content editing or login? I don't want to put the site in maintenance mode because I want it available to anonymous users. I just don't want my users logging in and adding/editing content while I'm working on the DB.
Thanks, Tracey
-------------------- Tracey Hummel Web Application Developer University of Arizona Social & Behavioral Sciences Technical Services University Services Building, 888 N. Euclid, Room 302 PO Box 210158, Tucson AZ 85721-0158 520-626-3223 tracey@arizona.edu http://tshummel.com
On Wed, Aug 22, 2012 at 11:56 AM, Hummel, Tracey S - (thummel) thummel@email.arizona.edu wrote:
I want to dump my production database to my development environment; make some big changes; and then import it back to production.
Is there a module that will allow you to temporarily block content editing or login? I don't want to put the site in maintenance mode because I want it available to anonymous users. I just don't want my users logging in and adding/editing content while I'm working on the DB.
You can always create a custom module to use a hook_user_login implementation to check if UID is 1 or not, set a message with drupal_set_message then drupal_goto('logout'); If you're clever enough you can create a settings page to turn it on and off.
http://drupal.org/project/login_disable
Jamie Holly http://www.intoxination.net http://www.hollyit.net
On 8/22/2012 11:56 AM, Hummel, Tracey S - (thummel) wrote:
I want to dump my production database to my development environment; make some big changes; and then import it back to production.
Is there a module that will allow you to temporarily block content editing or login? I don't want to put the site in maintenance mode because I want it available to anonymous users. I just don't want my users logging in and adding/editing content while I'm working on the DB.
Thanks, Tracey
Tracey Hummel /Web Application Developer/ University of Arizona Social & Behavioral Sciences Technical Services University Services Building, 888 N. Euclid, Room 302 PO Box 210158, Tucson AZ 85721-0158 520-626-3223 tracey@arizona.edu http://tshummel.com