A normal greenhouse or garden polytunnel will not usually require planning permission. If in doubt, it is best to call your local council. Often council planning departments run free clinics where you can take some pictures and plans of what you plan to do and get some advice on whether planning permission is required.
On the allotment, it will depend on your individual site's rules. Best to check with your site representative or manager, who will be able to give you guidance.