title: How do I bulk generate/grant download permissions on WooCommerce?
body: <p>I am in a situation. I have a downloadable product, with over 3500 customers buying it so far. While updating the downloadable product, apparently I messed up and some how removed access to the current 3500+ clients resulting in many confused emails. The customers are still shown as buying the digital product in their account purchases.</p>
  
  <p>So that brings me to desperately ask, how do I bulk generate/grant download permissions on WooCommerce to the customers that have already bought my downloadable product?</p>
  
  <p>I'm thinking about a SQL query, but not exactly sure what I would need to move and to where? What makes it even more difficult is I only need the permissions to be granted to customers of the specific product!</p>