Plans to install hundreds of solar panels to the roof of a South Tyneside supermarket have been given the green light.