@@ -0,0 +1,941 @@
+package com.google.step.coffee.servlets;%0A%0Aimport com.google.appengine.api.datastore.DatastoreService;%0Aimport com.google.appengine.api.datastore.DatastoreServiceFactory;%0Aimport com.google.appengine.api.datastore.Entity;%0Aimport com.google.step.coffee.HttpError;%0Aimport com.google.step.coffee.JsonServlet;%0Aimport com.google.step.coffee.JsonServletRequest;%0Aimport com.google.step.coffee.PermissionChecker;%0A%0Aimport javax.servlet.annotation.WebServlet;%0Aimport java.io.IOException;%0A%0A@WebServlet(%22/api/groupDelete%22)%0Apublic class GroupDeleteServlet extends JsonServlet %7B%0A  @Override%0A  public Object post(JsonServletRequest request) throws IOException, HttpError %7B%0A    // TODO(tsarn): also check that the user has write access to the group%0A    PermissionChecker.ensureLoggedIn();%0A%0A    DatastoreService datastore = DatastoreServiceFactory.getDatastoreService();%0A    datastore.delete(request.getKeyFromParameter(%22id%22, %22group%22));%0A%0A    return null;%0A  %7D%0A%7D%0A

Add group delete servlet