Fixes #5294: add UI for configuration of compliance mode