Change WordPress user roles and capabilities › Forums › Restrict or Permit access inside WordPress – how to › Role-based meta panel restrict. › Reply To: Role-based meta panel restrict.
Try to add this line to your code:
remove_action( 'woocommerce_product_write_panel_tabs', array( $GLOBALS['Product_Addon_Admin'], 'tab' ) );
“Product addons” hooks its code somewhere later when ‘woocommerce_product_data_tabs’ filter executed. Thus ‘addons’ tab is not available for manipulation at that moment.