juliocamarero/liferay-portal — pull request #1730 by sammso (2013-05-02 08:48:37+00:00)
Title: LPS-27013

Fix - Add check if the page is staging page. Verify also that user have permissions to see the layout. There is one use case that does not result 'good' result. See the comments at code