LPS-37266 The category should be obtained directly from the portlet, since it doesn't make sense to take into account whether the current user has access to the application right now.
LPS-37729 Automatically assign the "Go to Control Panel" or "Go to Site Administration" when a role has been permission by a Portal Administrator to access a portlet within them