Hello,

I'm running Drupal 5.3. I just want to ask whether it is possible to have my site in Maintenance mode ONLY for the users, i.e., anonymous users/visitors can see the site and access the content, but the users trying to login should get the message that the site is in Maintenance period and will be available after some specified time.

Thanks in advance,

R. Kaja Mohideen
MyiStop.com | Free Blog Hosting

CommentFileSizeAuthor
#3 access_site_while_in_maintenance.patch2.49 KBrobloach

Comments

kajamohideen’s picture

Title: How to edit URLs? » Maintenance Mode for Users ONLY
drumm’s picture

Version: 5.3 » 7.x-dev
Priority: Critical » Normal

New features, such as this, are currently being added on the 7.x branch.

robloach’s picture

Title: Maintenance Mode for Users ONLY » Permissions to access site while in site maintenance
Component: other » base system
Status: Active » Needs review
StatusFileSize
new2.49 KB

Here is a patch to add the permission 'access site while in maintenance'. When a user has this permission (set in admin/user/permissions), they can visit the site even when it is in offline mode (site maintenance).

JirkaRybka’s picture

Giving this permission to any "out-of-house" users might be problematic, still - especially while upgrading, or restoring the database from back-up, any concurrent page requests might give unexpected results. That's the whole point of maintenance mode, as I understand it.

kajamohideen’s picture

Ok.. Instead of using this patch... I'll wait to get a Official release of Drupal having this feature with no security/database problems.

robloach’s picture

Status: Needs review » Closed (won't fix)

Sounds like a contrib module is needed to add an "In Limbo" maintenance mode!

kajamohideen’s picture

May be, But If Drupal is having this feature in-built, it'll be good. I don't like to have too much of modules installed in my Drupal.