Read only mode - Drupal Module

What is Read Only Mode?

Read Only Mode provides an alternate to the built in Maintenance Mode in Drupal. Instead of displaying a static text file to users while the site is in maintenance mode, Read Only Mode will allow access (reading) of new content while preventing the addition of new content (posting / submitting forms / etc).

This allows the site to remain functional while maintenance is performed. This module also provides messaging to users and administrators to indicate that the site is in maintenance mode.

A quick set of features

  • Put the site in maintenance mode without taking your site offline
  • Easy to configure whitelist of forms that should remain available
  • Easy to configure custom warning messages
  • Administrative permissions that override Read Only Mode access restrictions

Who Is this for?

This module is intended for site administrators and developers. The module provides a great way to lock down or freeze a production server so that maintenance or large deployments can occur without taking the site offline. In a typical example, Read Only Mode is activated on the production server, the database is copied to a development server where work is done, and then the database is pushed back to the production server and Read Only Mode disabled.