LPS-45148 We are checking twice the PortletPermission (line 46)