LPS-45491

Taking the logic that was in EditGroupAssignmentsAction and putting it in the service layer so that other places that assign site roles (EditUserRolesAction) to also use that logic.