matethurzo/liferay-portal — pull request #244 by vilmospapp (2012-08-14 07:09:04+00:00)
Title: [TECHNICAL SUPPORT] LPS-29208 Stop skipping roles addition to permissions export

Hi Máté,

There's a known problem with permission exports when a role's all permissions are revoked, as the fact that this role lost it's permissions are not transfered during staging. So if I revoke the guest role's permissions from an article in staging, and that article was formerly published with view permission for guest, after the republishing the guest role will still have the view permission.

As the modification touches PortletDataContextImpl, I've collected the the portlets that have calls to the modified method and tested their behaviour with staging and revoked permissions on the portlet data. The tests were all successful.

Regards,
Vilmos