A pub has won the right to host live music outdoors and install an external bar despite objections from town councillors.