function set_author_capabilities()
{
    $editor = get_role('author');
    $caps = array(
        'publish_posts',
    );

    foreach ($caps as $cap) {
        $editor->remove_cap($cap);
    }
}
add_action('init', 'set_author_capabilities');