[Mozilla Enterprise] "ExtensionSettings" in policies.json does not allow users to disable addons

Mike Kaply mkaply at mozilla.com
Wed Nov 27 18:06:24 UTC 2019


That's odd. There's nothing explicit in the code that does that, and it
shouldn't be reinstalling the addon.

Sounds like a bug. I'll take a look.

Mike

On Wed, Nov 27, 2019 at 11:31 AM Oliver Haessler <oliver at redhat.com> wrote:

> Hi everyone,
>
> we are trying to roll out an extension to a few thousand users on Firefox
> 68.2 ESR (Linux). I would like to use the policies.json way and the
> option "ExtensionSettings".
>
> The extension gets installed, but a user is not able to disable it. Every
> time firefox is installed, the Addon is enabled again.
>
> $ cat /usr/lib64/firefox/distribution/policies.json
> {
> "policies": {
>   "ExtensionSettings": {
>     "ADDONNAME":{
>     "installation_mode": "normal_installed",
>       "install_url": "URL to xpi"
>      }
>     }
>   }
> }
>
> The policy-template page at [0] states:
>
> "The extension is automatically installed but can be disabled by the user.
> This option is not valid for the default configuration and requires an
> install_url."
>
> Any idea why the Addon is always enabled again?
>
> Thanks
> Oliver
>
> [0] https://github.com/mozilla/policy-templates#extensionupdate
>
> --
>
> Oliver Haessler
>
> He/Him/His
>
> Principal Systems Administrator and RHEL CSB Lead Developer
>
> Red Hat EMEA <https://www.redhat.com>
>
> Werner-von-Siemens-Ring 14
>
> 85630 Grasbrunn
> <https://www.redhat.com>
>
> _____________________________________________________________________________
>
> Red Hat GmbH, http://www.de.redhat.com/, Registered seat: Grasbrunn,
> Commercial register: Amtsgericht Muenchen, HRB 153243,
> Managing Directors: Charles Cachera, Michael O'Neill, Tom Savage, Eric Shander
>
> _______________________________________________
> Enterprise mailing list
> Enterprise at mozilla.org
> https://mail.mozilla.org/listinfo/enterprise
>
> To unsubscribe from this list, please visit
> https://mail.mozilla.org/listinfo/enterprise or send an email to
> enterprise-request at mozilla.org with a subject of "unsubscribe"
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/enterprise/attachments/20191127/30025dbd/attachment.html>


More information about the Enterprise mailing list