Fedora Chromium AI policy breaks DoH settings?

Hi,

it seems Fedora recently shipped a managed Chromium policy to disable AI mode. Unfortunately, Chromium thinks that any managed policy means that you cannot use DNS-over-HTTPS since it assumes you are in a managed environment.

The change set is probably this: https://bodhi.fedoraproject.org/updates/FEDORA-2026-40cf884ac9

Here is the source: https://src.fedoraproject.org/rpms/chromium/history/disable-ai.json?identifier=rawhide

It is installed at /etc/chromium/policies/managed/disable-ai.json

Is there any better place to move this file that does not break DoH in my browser?

My workaround for now is to just add my own managed policy on top of it to /etc/chromium/policies/managed/50-secure-dns.json this actually works as a global policy, but prevents me from managing this setting per profile or per local user.

{
  "DnsOverHttpsMode": "secure",
  "DnsOverHttpsTemplates": "https://<your-doh-url>"
}

I was wondering, but shouldn’t such fedora customization live inside fedora-chromium-config instead? There is actually a precedent in that repo where some of the policies where moved out from managed to recommended, maybe that could fix the issue?