Wastewater treatment permits