LPS-45321 - When selecting a new scope in Control Panel we should refresh the portlet being displayed
LPS-45321 The switchGroup param must be kept, otherwise you create LPS-40336 again.
LPS-45321 When a method receives a URL that has to be modified the convention is to pass the URL as the first parameter.
LPS-45321 SF
LPS-45321 Match addPreservedParameters
LPS-45321 Match var in HttpUtil.removeParameter
LPS-45321 Simplify
LPS-46010 add mime types needed for weblogic serving the UTF8 javascript and xml files
LPS-46013 remove not used parameter
LPS-46013 rename parameter to be more accurate to what it expects
LPS-46013 make logic logical :)  (the query expects the siteIds for obtaining tags and categories but then queries the groupIds)
LPS-46013 move specific logic to a separated method to make the complex method simpler
LPS-46013 move logic about siteGroupIds to the only place where it is needed! To create the assetEntryQuery with tags!
LPS-46013 SF
LPS-45900 Organization site appears in site dropdown for the user who created an organization even if he does not belong to it

The bug was caused because the operation to automatically make a user member of the site when assigning a role should only apply to regular sites and not to organization sites or other types of sites.