} else if (parser.containsKey("changetype")) {
String changeType = parser.getValue("changetype");
String emailId = parser.getValue("email");
if ("add".equals(changeType)) {
AclScope scope = new AclScope(AclScope.Type.USER, emailId);
AclRole role = new AclRole(parser.getValue("role"));
// Add a new accessor for this entry
AclEntry entry = new AclEntry();
entry.setRole(role);
entry.setScope(scope);
System.out.println("Adding user " + emailId + " as " + role.getValue()
+ " to " + feedName + " with id " + entryId + " ...");
URL feedUrl = FeedUris.getAclFeedUrl(feedName, entryId);
service.insert(feedUrl, entry);
System.out.println("...done");
} else if ("change".equals(changeType)) {
AclScope scope = new AclScope(AclScope.Type.USER, emailId);
AclRole role = new AclRole(parser.getValue("role"));
// Change the role of an accessor for this entry
AclEntry entry = new AclEntry();
entry.setRole(role);