LPS-32794 Call setUserUserGroups once instead of addUserGroupUsers/deleteUserGroupUser multiple times
LPS-32269 Revert logical change of commit 7604683d7d2480547c79e6ac7493815688e954b5