magento/magento2 — pull request #454 by tim-bezhashvyly (2013-12-26 17:21:53+00:00)
Title: Allow to specify list of IPs in a body on maintenance.flag which will be granted access even if the flag is on

This is a new functionality allowing to specify list of IPs which will be granted access to the website even if maintenance flag is on.

The IPs just has to be specified in the body of "mainenance.flag" file one under another (each IP on the next row).

This functionality can be useful for release processes when the developer needs to make sure that the website is running as it should while general public is not able to access the website. Another use case can be the occasion when the problem critical is found on production website and seems to be a server specific. In this case developer will be able to put the maintenance flag but still access the website by himself in order to trace the problem.

The implemented feature is not covered with tests as "maintenance.flag" related functionality is not covered in stock.