}
// User clicked on teamEvent
final TeamCalEventId id = new TeamCalEventId(event.getId(), PFUserContext.getTimeZone());
final TeamEventDO teamEventDO = teamEventDao.getById(id.getDataBaseId());
final TeamEvent teamEvent = eventProvider.getTeamEvent(id.toString());
if (new TeamEventRight().hasUpdateAccess(PFUserContext.getUser(), teamEventDO, null)) {
if (teamEventDO.hasRecurrence() == true) {
// at this point the dbTeamEvent is already updated in time
recurrenceChangeDialog.open(response.getTarget(), teamEvent, null, null);
return;
}