We have (using Liferay 6.0.5 CE) developed a hook to prevent access to the control-panel for users. With 6.1.0 CE GA1, the link to the control panel now appears in "mySites" and even if users are prevented access, the link should preferrably not be visible to them.
It would be great if liferay-ui:my-sites exposed an argument wether to include the control panel or not:
e.g., <liferay-ui:my-sites includeControlPanel="false" />
/portal-web/taglib/ui/my_sites/page.jsp currently has the following line:
List<Group> mySites = user.getMySites(true, max);