A former post office and shop is set to be turned into a house after planning permission was granted.