As long as these terms and conditions html files are under our control (meaning that Canonical provides them in the system image) and the terms and conditions html files are the only files in the location-provider-consent directory, adding a rule such as this to the profile should be no problem:
As long as these terms and conditions html files are under our control (meaning that Canonical provides them in the system image) and the terms and conditions html files are the only files in the location- provider- consent directory, adding a rule such as this to the profile should be no problem:
/custom/ vendor/ here/location- provider- consent/ *.html r,