Change WordPress user roles and capabilities › Forums › Restrict or Permit access inside WordPress – how to › Restrict edit access to certain posts, but not that posts children. › Reply To: Restrict edit access to certain posts, but not that posts children.
Go to Users, find problematic user line and click ‘Capabilities’ link under it. Check if ‘edit_shop_orders’ capability is not assigned to a user directly, not via role. Revoke ‘edit_shop_orders’ from this user then.
“Admin menu” shows admin menu items for a role accordingly to the list of capabilities granted to that role. This is a reason why ‘Orders’ menu item is not shown for a role.
P.S. This topic is about another problem. It’s better to start your own topic for another question in a future.