A Shropshire school has been granted permission to have a new artificial sports pitch.