ezsystems/ezp-next — pull request #110 by emodric (2012-10-31 15:38:21+00:00)
Title: Throw exception in UserService::assignUserToUserGroup if user is already in group

_DO NOT MERGE!_

UserService::assignUserToUserGroup does nothing if user is already assigned to the group(!)

This PR adds the exception for that usecase for two reasons:

1) To be in line with unAssignUserFromUserGroup that throws when user is not in the group
2) To be able to implement correctly REST server specified exception

Needs review from @docb22 because of API change and from @tobyS because of API integration tests change.