X-Git-Url: https://git.p6c8.net/policy-templates.git/blobdiff_plain/ec2bdd378c6b3023524a7d3a6051b3446ed80213..a927f934c446a41270413724d41af875ba801580:/README.md?ds=sidebyside diff --git a/README.md b/README.md index f64f987..8b5a113 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,6 @@ Policies can be specified using the Group Policy templates on Windows (https://g | **[`EnableTrackingProtection`](#enabletrackingprotection)** | Configure tracking protection. | **[`EnterprisePoliciesEnabled`](#enterprisepoliciesenabled)** | Enable policy support on macOS. | **[`Extensions`](#extensions)** | Control the installation, uninstallation and locking of extensions. -| **[`ExtensionSettings`](#extensionsettings)** | Manage all aspects of extensions. | **[`ExtensionUpdate`](#extensionupdate)** | Control extension updates. | **[`FlashPlugin`](#flashplugin)** | Configure the default Flash plugin policy as well as origins for which Flash is allowed. | **[`FirefoxHome`](#firefoxhome)** | Customize the Firefox Home page. @@ -74,9 +73,9 @@ Policies can be specified using the Group Policy templates on Windows (https://g | **[`SearchSuggestEnabled`](#searchsuggestenabled)** | Enable search suggestions. | **[`SSLVersionMax`](#sslversionmax)** | Set and lock the maximum version of TLS. | **[`SSLVersionMin`](#sslversionmin)** | Set and lock the minimum version of TLS. +| **[`SupportMenu`](#supportmenu)** | Add a menuitem to the help menu for specifying support information. | **[`WebsiteFilter`](#websitefilter)** | Block websites from being visited. - ### AppUpdateURL Change the URL for application update. @@ -1323,76 +1322,7 @@ Software\Policies\Mozilla\Firefox\Extensions\Locked\1 = "addon_id@mozilla.org" } ``` ### ExtensionSettings -Manage all aspects of extensions. This policy is based heavily on the [Chrome policy](https://dev.chromium.org/administrators/policy-list-3/extension-settings-full) of the same name. - -This policy maps an extension ID to its configuration. With an extension ID, configuration will be applied to the specified extension only. A default configuration can be set for the special ID "*", which will apply to all extensions that don't have a custom configuration set in this policy. - -To obtain an extension ID, install the extension and go to about:support. You will see the ID in the Extensions section. - -The configuration for each extension is another dictionary that can contain the fields documented below. - -| Name | Description | -| --- | --- | -| `installation_mode` | Maps to a string indicating the installation mode for the extension. The valid strings are `allowed`,`blocked`,`force_installed`, and `normal_installed`. -|         `allowed` | Allows the extension to be installed by the user. This is the default behavior. -|         `blocked`| Blocks installation of the extension and removes it from the device if already installed. -|         `force_installed`| The extension is automatically installed and can't be removed by the user. This option is not valid for the default configuration and requires an install_url. -|         `normal_installed`| 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. -| `install_url`| Maps to a string indicating where Firefox can download a force_installed or normal_installed extension. If installing from the addons.mozilla.org, use the following URL (substituting SHORT_NAME from the URL on AMO), https://addons.mozilla.org/firefox/downloads/latest/SHORT_NAME/latest.xpi -| `install_sources` | Each item in this list is an extension-style match pattern. Users will be able to easily install items from any URL that matches an item in this list. Both the location of the *.xpi file and the page where the download is started from (i.e. the referrer) must be allowed by these patterns. This setting can be used only for the default configuration. -| `allowed_types` | This setting whitelists the allowed types of extension/apps that can be installed in Firefox. The value is a list of strings, each of which should be one of the following: "extension", "theme", "dictionary", "langpack" This setting can be used only for the default configuration. -| `blocked_install_message` | This maps to a string specifying the error message to display to users if they're blocked from installing an extension. This setting allows you to append text to the generic error message displayed when the extension is blocked. This could be be used to direct users to your help desk, explain why a particular extension is blocked, or something else. - -**Compatibility:** Firefox 68, Firefox ESR 68\ -**CCK2 Equivalent:** N/A\ -**Preferences Affected:** N/A - -#### Windows -Due to a bug in Firefox 68, this policy is not working via GPO on Windows. We will have a fix soon. -#### macOS -``` - - ExtensionSettings - - * - - blocked_install_message - Custom error message. - install_sources - - https://addons.mozilla.org/ - - installation_mode - blocked - - uBlock0@raymondhill.net - - installation_mode - force_installed - install_url - https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi - - - -``` -#### JSON -``` -{ - "policies": { - "ExtensionSettings": { - "*": { - "blocked_install_message": "Custom error message.", - "install_sources": ["https://addons.mozilla.org/"], - "installation_mode": "blocked" - }, - "uBlock0@raymondhill.net": { - "installation_mode": "force_installed", - "install_url": "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi" - } - } - } -} -``` +Do NOT use this policy. You risk uninstalling your search extensions. ### ExtensionUpdate Control extension updates. @@ -2675,6 +2605,45 @@ Software\Policies\Mozilla\Firefox\SSLVersionMin = "tls1" | "tls1.1" | "tls1.2" | } } ``` +### SupportMenu +Add a menuitem to the help menu for specifying support information. + +**Compatibility:** Firefox 68.0.1, Firefox ESR 68.0.1\ +**CCK2 Equivalent:** helpMenu\ +**Preferences Affected:** N/A + +#### Windows +``` +Software\Policies\Mozilla\Firefox\SupportMenu\Title = "Support Menu" +Software\Policies\Mozilla\Firefox\SupportMenu\URL = "http://example.com/support" +Software\Policies\Mozilla\Firefox\SupportMenu\Title = "S" +``` +#### macOS +``` + + SupportMenu + + Title + SupportMenu + URL + http://example.com/support + AccessKey + S + + +``` +### JSON +``` +{ + "policies": { + "SupportMenu": { + "Title": "Support Menu", + "URL": "http://example.com/support", + "AccessKey": "S" + } + } +} +``` ### WebsiteFilter Block websites from being visited. The parameters take an array of Match Patterns, as documented in https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Match_patterns. Only http/https addresses are supported at the moment. The arrays are limited to 1000 entries each.