@Transactional
@IsAllowed(value = Operation.UPDATE, resourceType = ResourceType.MILESTONE)
public static Result open(String userName, String projectName, Long id) {
Milestone milestone = Milestone.findById(id);
milestone.open();
return redirect(routes.MilestoneApp.milestone(userName, projectName, id));
}
@Transactional
@IsAllowed(value = Operation.UPDATE, resourceType = ResourceType.MILESTONE)