Skip to content
  • Kathleen Brade's avatar
    Bug 32418: Allow updates to be disabled via an enterprise policy. · 47fd1175
    Kathleen Brade authored and Georg Koppen's avatar Georg Koppen committed
    Restrict the Enterprise Policies mechanism to only consult a
    policies.json file (avoiding the Windows Registry and macOS's
    file system attributes).
    
    Add a few disabledByPolicy() checks to the update service to
    avoid extraneous (and potentially confusing) log messages when
    updates are disabled by policy.
    
    Sample content for distribution/policies.json:
    {
      "policies": {
        "DisableAppUpdate": true
      }
    }
    
    On Linux, avoid reading policies from /etc/firefox/policies/policies.json
    47fd1175