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.

User with role restricted this way:

Additional role option

will see just “Processing” view at the “WooCommerce->Orders” page:

“Processing” view only

Setup code below as a “Must Use” plugin in order to add described additional option for the role inside User Role Editor:

Just change commented posts views and add/remove post statuses for available shop orders in order to customize this code for your own needs.