}
} else {
errors.add("execute", new ActionError("error.authorization"));
}
} else if (deploy != null && !deploy.equals("")) {
if (p.asDTO().isDeployable()) {
try {
Executor.deploy(project);
} catch (Exception e) {
log.warn("couldn't deploy " + project, e);
errors.add("execute", new ActionError("error.deploy", project));