A new waste treatment plant capable of turning flue gas treatment residues (FGT) into carbon-negative building products has been granted planning permission to be built in Bristol.