From a0e42fa181fe24eb41be5090dce5906c7287e140 Mon Sep 17 00:00:00 2001 From: Michael Kaply Date: Thu, 5 Apr 2018 16:53:18 -0500 Subject: [PATCH] Add policy for Extensions --- README.md | 13 +++++++++++++ windows/en-US/firefox.adml | 18 ++++++++++++++++++ windows/firefox.admx | 24 ++++++++++++++++++++++++ 3 files changed, 55 insertions(+) diff --git a/README.md b/README.md index 9de8ec9..53cb7d8 100644 --- a/README.md +++ b/README.md @@ -292,6 +292,19 @@ If Value is set to true, private browsing is enabled by default in both the brow "Locked": [true, false] } ``` +### Extensions +This policy controls the install, uninstall and locking of extensions. Locked extensions cannot be disabled or uninstalled. +For Install, you can specify a list of URLs or paths. +For Uninstall and Locked, you specify extension IDs. +``` +{ + "policies": { + "Extensions": { + "Install": ["https://addons.mozilla.org/firefox/downloads/somefile.xpi", "//path/to/xpi"] + "Uninstall": ["addon_id@mozilla.org"], + "Locked": ["addon_id@mozilla.org"] + } +``` ### NoDefaultBookmarks Don't create the default bookmarks or the Smart Bookmarks (Most Visited, Recent Tags). Note: this policy is only effective if used before the first run of the profile. ``` diff --git a/windows/en-US/firefox.adml b/windows/en-US/firefox.adml index c31d9da..10d6f90 100644 --- a/windows/en-US/firefox.adml +++ b/windows/en-US/firefox.adml @@ -13,6 +13,7 @@ Popups Cookies Addons + Extensions Flash Home page Allow @@ -91,6 +92,20 @@ Mozilla strongly recommends that you do NOT disable telemetry if you do not have Causes the menu bar to be displayed by default. Don't Check Default Browser Don't check for the default browser on startup. + Install + If this policy is enabled, you can specify a list of extension URLs or paths that will be installed when Firefox is started. +Anytime this list is changed, the extensions will be reinstalled. + +If this policy is disabled or not configured, no extensions are installed. + Uninstall + If this policy is enabled, you can specify a list of extension IDs that will be uninstalled. +Anytime this list is changed, the extensions will be uninstalled. + +If this policy is disabled or not configured, no extensions are uninstalled. + Locked + If this policy is enabled, you can specify a list of extension IDs that the user will be unable to uninstall or disable. + +If this policy is disabled or not configured, no extensions are locked. Remember Passwords Enforces the setting to allow Firefox to remember saved logins and passwords. Both true and false values are accepted. URLs to allow popups. @@ -161,6 +176,9 @@ If this policy is enabled, private browsing is enabled by default in both the br + + + Allow popups for websites Allow add-ons for websites diff --git a/windows/firefox.admx b/windows/firefox.admx index 549a738..aa4150f 100644 --- a/windows/firefox.admx +++ b/windows/firefox.admx @@ -42,6 +42,9 @@ + + + @@ -392,6 +395,27 @@ + + + + + + + + + + + + + + + + + + + + + -- 2.34.1