class ProjectController {

    public Promise<Boolean> canDeleteBranch(final WorkspaceProject project) {
        return canDeleteBranch(project,
                               project.getBranch().getName());
    }

    @Inject public  ProjectController(final AuthorizationManager authorizationManager,
                             final User user,
                             final Caller<ProjectPermissionsService> projectPermissionsService,
                             final Promises promises);

}