sergiogonzalez/liferay-portal — pull request #544 by KocsisDaniel (2013-01-07 09:30:59+00:00)
Title: [TECH SUPPORT] LPS-31985

Hi Sergio,

last time we reviewed together this fix, but it seems one small issue still remained. The problem is with the new condition in the last step when we check whether we have only private layouts is too permissive because it is possible we have private pages only when the user is logged in one. Currently we use the guest default page in this situation which is bad. The fix is to limit this change and use the guest layout only when the user is not authenticated and the destination layout set is private.

thanks,
Daniel