//add to group and also adds identities really added to the event.
//this is then later used by the GroupController to determine if the
//model should be updated or not.
rm.addOwners(ureq.getIdentity(),identitiesAddedEvent,repositoryEntry);
} else if (event instanceof IdentitiesRemoveEvent) {
IdentitiesRemoveEvent identitiesRemoveEvent = (IdentitiesRemoveEvent) event;
RepositoryManager rm = RepositoryManager.getInstance();
rm.removeOwners(ureq.getIdentity(),identitiesRemoveEvent.getRemovedIdentities(), repositoryEntry);
}
updateView(ureq);
} else if (source == detailsToolC) {
if (cmd.equals(ACTION_DOWNLOAD)) { // download
doDownload(ureq);