dkim_verifier icon indicating copy to clipboard operation
dkim_verifier copied to clipboard

Allow organizations to change settings via policies

Open lieser opened this issue 2 years ago • 2 comments

Thunderbird can be customized by organizations via policies, see https://support.mozilla.org/en-US/products/firefox-enterprise/policies-customization-enterprise/policies-overview-enterprise.

Add-ons can add support to be configurable via the same mechanism, see https://extensionworkshop.com/documentation/enterprise/adding-policy-support-to-your-extension/ (at least in Firefox, not yet tested in Thunderbird).

The add-on should allow to set the default values for the non account specific options. Optionally also allow to lock the settings.

See #267 for a workaround using about:config and autoconfig until this is implemented.

lieser avatar Jul 03 '21 13:07 lieser

I've been working with another developer, and we've worked out a proof of concept that utilizes Managed Storage and can be configured via policies.json, since apparently WebExtension addons will lose access to about:config. This has been tested on TB91.

https://github.com/thundernest/enterprise-docs/issues/5 https://github.com/thundernest/sample-extensions/tree/master/managedStorage

klou avatar Sep 10 '21 07:09 klou

Thanks for letting me know that the managed storage was already successfully tested.

Note that WebExtension never had direct access to about:config, but instead always required the use of so called experiments to access it. Which hopefully will still work for some time, as the DKIM verifier relies on experiments for some core functionality (see also https://github.com/lieser/dkim_verifier/wiki/FAQ#why-does-the-add-on-need-full-unrestricted-access-to-thunderbird). So the workaround should still work in TB91.

Btw, please let me know if you or someone else would also like to lock some settings. Otherwise I will probably leave that out then I will start working on this.

lieser avatar Sep 10 '21 22:09 lieser