• Kathleen Brade's avatar
    Bug 32418: Allow updates to be disabled via an enterprise policy. · 088d1b5e
    Kathleen Brade authored and Matthew Finkel's avatar Matthew Finkel 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
    088d1b5e
EnterprisePoliciesParent.jsm 20 KB