return FormValidation.ok();
}
public AutoCompletionCandidates doAutoCompleteSubProjects(
@QueryParameter String value) {
AutoCompletionCandidates candidates = new AutoCompletionCandidates();
Set<AbstractProject> projects = getSubProjects();
for (AbstractProject project : projects) {
if (project.getFullName().startsWith(value)) {
if (project.hasPermission(Item.READ)) {
candidates.add(project.getFullName());
}
}
}
return candidates;
}