X-Git-Url: https://git.p6c8.net/policy-templates.git/blobdiff_plain/a72ed11ccfb29ccd83d15cb9d69b485deb8fa7c1..8d38333fabcb205f6e4e15e54297381b5467b15f:/docs/index.md diff --git a/docs/index.md b/docs/index.md index 2850b1f..a7a4348 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1,3 +1,6 @@ +> [!WARNING] +> Documentation for policy behavior and syntax is being migrated to the [Firefox administrator reference](https://firefox-admin-docs.mozilla.org/). + Firefox policies can be specified using the [Group Policy templates on Windows](https://github.com/mozilla/policy-templates/tree/master/windows), [Intune on Windows](https://support.mozilla.org/kb/managing-firefox-intune), [configuration profiles on macOS](https://github.com/mozilla/policy-templates/tree/master/mac), or by creating a file called `policies.json`. On Windows, create a directory called `distribution` where the EXE is located and place the file there. On Mac, the file goes into `Firefox.app/Contents/Resources/distribution`. On Linux, the file goes into `firefox/distribution`, where `firefox` is the installation directory for firefox, which varies by distribution or you can specify system-wide policy by placing the file in `/etc/firefox/policies`. Unfortunately, JSON files do not support comments, but you can add extra entries to the JSON to use as comments. You will see an error in about:policies, but the policies will still work properly. For example: @@ -16,6 +19,7 @@ Note: The `policies.json` must use the UTF-8 encoding. | Policy Name | Description | --- | --- | | **[`3rdparty`](#3rdparty)** | Set policies that WebExtensions can access via chrome.storage.managed. +| **[`AIControls`](#aicontrols)** | Configure AI controls. | **[`AllowedDomainsForApps`](#alloweddomainsforapps)** | Define domains allowed to access Google Workspace. | **[`AllowFileSelectionDialogs`](#allowfileselectiondialogs)** | Allow file selection dialogs. | **[`AppAutoUpdate`](#appautoupdate)** | Enable or disable automatic application update. @@ -195,6 +199,262 @@ For GPO and Intune, the extension developer should provide an ADMX file. } ``` +### AIControls +Configure AI controls. +For more information, see [Block generative AI features with Firefox AI controls](https://support.mozilla.org/en-US/kb/firefox-ai-controls) on support.mozilla.org. + +Each key controls the availability of a specific AI feature. The following AI feature keys are available: + +- `Default`: Controls the default state for AI features listed below, unless they are explicitly configured in the policy. +- `Translations`: Controls AI-powered page translations. +- `PDFAltText`: Controls AI-generated alt text for images in PDF documents. +- `SmartTabGroups`: Controls AI-powered tab grouping suggestions. +- `LinkPreviewKeyPoints`: Controls AI-generated key point summaries shown in link previews. +- `SidebarChatbot`: Controls the AI chatbot panel in the Firefox sidebar. +- `SmartWindow`: Controls AI-powered window arrangement features. (Firefox 150) + +All keys accept the following sub-keys: + +- `Value`: + - `available` makes the feature accessible to users and it can be enabled or disabled. + - `blocked` disables the feature and users won't see it. For on-device AI, any models already downloaded are removed. +- `Locked`: if `true`, the user cannot change the setting. + +**Compatibility:** Firefox 149.0.2 (SmartWindow: Firefox 150)\ +**CCK2 Equivalent:** N/A\ +**Preferences Affected:** `browser.ml.chat.enabled`, `browser.ml.chat.page`, `browser.ai.control.sidebarChatbot`, `browser.translations.enable`, `browser.ai.control.translations`, `pdfjs.enableAltText`, `browser.ai.control.pdfjsAltText`, `browser.ml.linkPreview.enabled`, `browser.ai.control.linkPreviewKeyPoints`, `browser.tabs.groups.smart.userEnabled`, `browser.ai.control.smartTabGroups`, `browser.ai.control.smartWindow` + +#### Windows (GPO) +``` +Software\Policies\Mozilla\Firefox\AIControls\Default\Value = "available" | "blocked" +Software\Policies\Mozilla\Firefox\AIControls\Default\Locked = 0x1 | 0x0 +Software\Policies\Mozilla\Firefox\AIControls\Translations\Value = "available" | "blocked" +Software\Policies\Mozilla\Firefox\AIControls\Translations\Locked = 0x1 | 0x0 +Software\Policies\Mozilla\Firefox\AIControls\PDFAltText\Value = "available" | "blocked" +Software\Policies\Mozilla\Firefox\AIControls\PDFAltText\Locked = 0x1 | 0x0 +Software\Policies\Mozilla\Firefox\AIControls\SmartTabGroups\Value = "available" | "blocked" +Software\Policies\Mozilla\Firefox\AIControls\SmartTabGroups\Locked = 0x1 | 0x0 +Software\Policies\Mozilla\Firefox\AIControls\LinkPreviewKeyPoints\Value = "available" | "blocked" +Software\Policies\Mozilla\Firefox\AIControls\LinkPreviewKeyPoints\Locked = 0x1 | 0x0 +Software\Policies\Mozilla\Firefox\AIControls\SidebarChatbot\Value = "available" | "blocked" +Software\Policies\Mozilla\Firefox\AIControls\SidebarChatbot\Locked = 0x1 | 0x0 +Software\Policies\Mozilla\Firefox\AIControls\SmartWindow\Value = "available" | "blocked" +Software\Policies\Mozilla\Firefox\AIControls\SmartWindow\Locked = 0x1 | 0x0 +``` +#### Windows (Intune) +OMA-URI: +``` +./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~AIControls~Default/Default_Value +``` +Value (string): +``` + + +``` +OMA-URI: +``` +./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~AIControls~Default/Default_Locked +``` +Value (string): +``` + or +``` +OMA-URI: +``` +./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~AIControls~Translations/Translations_Value +``` +Value (string): +``` + + +``` +OMA-URI: +``` +./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~AIControls~Translations/Translations_Locked +``` +Value (string): +``` + or +``` +OMA-URI: +``` +./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~AIControls~PDFAltText/PDFAltText_Value +``` +Value (string): +``` + + +``` +OMA-URI: +``` +./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~AIControls~PDFAltText/PDFAltText_Locked +``` +Value (string): +``` + or +``` +OMA-URI: +``` +./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~AIControls~SmartTabGroups/SmartTabGroups_Value +``` +Value (string): +``` + + +``` +OMA-URI: +``` +./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~AIControls~SmartTabGroups/SmartTabGroups_Locked +``` +Value (string): +``` + or +``` +OMA-URI: +``` +./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~AIControls~LinkPreviewKeyPoints/LinkPreviewKeyPoints_Value +``` +Value (string): +``` + + +``` +OMA-URI: +``` +./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~AIControls~LinkPreviewKeyPoints/LinkPreviewKeyPoints_Locked +``` +Value (string): +``` + or +``` +OMA-URI: +``` +./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~AIControls~SidebarChatbot/SidebarChatbot_Value +``` +Value (string): +``` + + +``` +OMA-URI: +``` +./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~AIControls~SidebarChatbot/SidebarChatbot_Locked +``` +Value (string): +``` + or +``` +OMA-URI: +``` +./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~AIControls~SmartWindow/SmartWindow_Value +``` +Value (string): +``` + + +``` +OMA-URI: +``` +./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~AIControls~SmartWindow/SmartWindow_Locked +``` +Value (string): +``` + or +``` +#### macOS +``` + + AIControls + + Default + + Value + available | blocked + Locked + | + + Translations + + Value + available | blocked + Locked + | + + PDFAltText + + Value + available | blocked + Locked + | + + SmartTabGroups + + Value + available | blocked + Locked + | + + LinkPreviewKeyPoints + + Value + available | blocked + Locked + | + + SidebarChatbot + + Value + available | blocked + Locked + | + + SmartWindow + + Value + available | blocked + Locked + | + + + +``` +#### policies.json +``` +{ + "policies": { + "AIControls": { + "Default": { + "Value": "available" | "blocked", + "Locked": true | false + }, + "Translations": { + "Value": "available" | "blocked", + "Locked": true | false + }, + "PDFAltText": { + "Value": "available" | "blocked", + "Locked": true | false + }, + "SmartTabGroups": { + "Value": "available" | "blocked", + "Locked": true | false + }, + "LinkPreviewKeyPoints": { + "Value": "available" | "blocked", + "Locked": true | false + }, + "SidebarChatbot": { + "Value": "available" | "blocked", + "Locked": true | false + }, + "SmartWindow": { + "Value": "available" | "blocked", + "Locked": true | false + } + } + } +} +``` ### AllowedDomainsForApps Define domains allowed to access Google Workspace.