Affects Version/s: 6.1.1 CE GA2, 6.1.20 EE GA2, --Sprint 11/12
Steps to reproduce:
1) Create 60 blank roles
2) Create a site template with 14 pages and about 70 portlets overall
3) Create a new site with this template
Observed behavior: It took ~20 seconds to create a new site on SSD and about ~30-50 on external HDD.
During portlet export permission exporter adds a record for every role in portletDataContext, even if they don't have any actionKeys, and it causes a lot of unnecessary processing at the import.
Skip roles which doesn't have actionKeys during permission export.