Loop that displays all posts by logged in user, with Post Edit link

$posts = get_posts(
    array(
        'post_author' => get_current_user_id(),
        'post_status' => 'any',
        'post_type'   => 'any',
    )
);

foreach ( $posts as $post )
    printf( '<a href="https://wordpress.stackexchange.com/questions/103977/%s">%s</a><br />',
        esc_attr(
            add_query_arg( '_ninja_forms_action', 'edit', get_permalink( $post ) )
        ),
        get_the_title( $post )
    );