             title : title
 
     set_project_description: (project_id, description) =>
-        if not @have_project(project_id)
+        if not await @have_project(project_id)
             console.warn("Can't set description -- you are not a collaborator on project '#{project_id}'.")
             return
         if store.get_description(project_id) == description

    # Returns true only if we are a collaborator/user of this project and have loaded it.
    # Should check this before changing anything in the projects table!  Otherwise, bad
    # things will happen.
    have_project: (project_id) =>
        return @redux.getTable('projects')?._table?.get(project_id)?  # dangerous use of _table!

    set_project_title: (project_id, title) =>
        if not @have_project(project_id)
            console.warn("Can't set title -- you are not a collaborator on project '#{project_id}'.")
            return
        if store.get_title(project_id) == title


    # only owner can set course description.
    set_project_course_info: (project_id, course_project_id, path, pay, account_id, email_address) =>
        if not await @have_project(project_id)
            msg = "Can't set description -- you are not a collaborator on project '#{project_id}'."
            console.warn(msg)
            return
