final Long userId = eventContext.getCurrentUserId(); final IAdmin iAdmin = helper.getServiceFactory().getAdminService(); acceptableGroups = ImmutableSet.copyOf(iAdmin.getLeaderOfGroupIds(new Experimenter(userId, false)));
final Long userId = eventContext.getCurrentUserId(); final IAdmin iAdmin = helper.getServiceFactory().getAdminService(); acceptableGroups = ImmutableSet.copyOf(iAdmin.getLeaderOfGroupIds(new Experimenter(userId, false)));