Disable title link in the backend for non-admins

I believe the links below achieve what you’re looking to do when they’re combined. If you want to have administrators or just specific admin IDs excluded you could add to the if statement in the function like I have done with current_user_can function;

function perm($return, $id, $new_title, $new_slug){
    global $post;
    if($post->post_type == 'testimonials' && current_user_can('manage_options'))
    {
        $ret2 = preg_replace('/<span id="edit-slug-buttons">.*<\/span>|<span id=\'view-post-btn\'>.*<\/span>/i', '', $return);
    }

    return $ret2;
}
if ( is_user_logged_in() ){
    add_filter('get_sample_permalink_html', 'perm', '',4);
}

I have not tested this.

Removing Edit Permalink/View “Custom Post Type” areas

How to check if a WordPress user is an “administrator”

tech