EventTicket ticket = daos.getEventTicketAccess().find(con, ticketId);
if (ticket == null)
throw new PartakeException(UserErrorCode.INVALID_TICKET_ID);
IEventAccess eventDao = daos.getEventAccess();
Event event = eventDao.find(con, ticket.getEventId());
if (event == null)
throw new PartakeException(UserErrorCode.INVALID_TICKET_ID);
if (!EventEditParticipantsPermission.check(event, user))
throw new PartakeException(UserErrorCode.FORBIDDEN_EVENT_ATTENDANT_EDIT);