updateLookAndFeel(group);
Layout layout = addLayout(
group, "Home", "/home", PortletPropsValues.USER_LAYOUT_TEMPLATE);
addPortlets(group, layout);
updatePermissions(layout, false);
<BUG>layout = addLayout(group, "Profile", "/profile", "2_columns_ii");
removePortletBorder(layout, "4_WAR_soportlet");</BUG>
updatePermissions(layout, true);
<BUG>layout = addLayout(group, "Mail", "/mail", "1_column");
updatePermissions(layout, false);</BUG>
}

updateLookAndFeel(group);
Layout layout = addLayout(
group, "Home", "/home", PortletPropsValues.USER_LAYOUT_TEMPLATE);
addPortlets(group, layout);
updatePermissions(layout, false);
layout = addLayout(group, "Profile", "/profile", "2_columns_ii");
addResources(layout, "1_WAR_soportlet");
addResources(layout, "4_WAR_soportlet");
removePortletBorder(layout, "4_WAR_soportlet");
updatePermissions(layout, true);
layout = addLayout(group, "Mail", "/mail", "1_column");
addResources(layout, "1_WAR_mailportlet");
updatePermissions(layout, false);
}
