Show for the role WooCommerce orders with selected status only

Is it possible to show for the role WooCommerce orders with the selected status(es) only?
User Role Editor Pro does not include such functionality directly. It’s possible to add such kind of restriction to User Role Editor (URE) using URE built-in additional options for role interface and piece of the custom PHP code.
Read more Show for the role WooCommerce orders with selected status only

Block refunds in WooCommerce

What to do if you need that some role be able to create/edit Orders in WooCommerce but not be able to issue refunds? It will be good just revoke from a role the user capabilities which allows to work with refunds, but WooCommerce registerd a ‘refund’ custom post type with a ‘shop_order’ capability type. This means that refunds are protected by the same list of user capabilities as the orders: edit_shop_orders, publish_shop_orders, etc.
So we can not change a user role to achieve our purpose. Read more Block refunds in WooCommerce