LPS-33926 new method checkControlPanelPageSecurity
LPS-33926 Split isAllowAddPortletDefaultResource
LPS-33926 Extract Control Panel logic from isAllowAddPortletDefaultResource