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.