brianchandotcom/liferay-portal — pull request #6753 by epgarcia (2012-09-04 15:01:28+00:00)
Title: LPS-28147 Portlet permissions removed when resetting site to site template

Portlet permissions are set when the page is first rendered. Since default site templates are created programmatically and usually never rendered, we have to make sure the portlet permissions are properly set to the default values to prevent the site portlet permissions to be removed when resetting the site to its site template.

@JorgeFerrer
@igorbeslic