How to redirect specific post type with user role

add_action('load-index.php', 'redirect_dashboard');

function redirect_dashboard() {
  if ( ! is_admin() || current_user_can('activate_plugins') ) return;
  $screen = get_current_screen();
  if ( is_object($screen) && $screen->base == 'dashboard' ) {
    $url = admin_url('edit.php');
    wp_safe_redirect( add_query_arg( array('post_type' => 'product'), $url) );
    die();
  }
}