From 9897cf3ba6c4e1e8b88080d236a101b049272250 Mon Sep 17 00:00:00 2001 From: Michael Kaply <345868+mkaply@users.noreply.github.com> Date: Wed, 10 May 2023 16:58:42 -0400 Subject: [PATCH 1/1] Documentation for new Containers policy --- README.md | 86 +++++++++++++++++++++++++++++++++++ linux/policies.json | 9 ++++ mac/org.mozilla.firefox.plist | 14 ++++++ windows/de-DE/firefox.adml | 6 +++ windows/en-US/firefox.adml | 6 +++ windows/es-ES/firefox.adml | 6 +++ windows/firefox.admx | 7 +++ windows/fr-FR/firefox.adml | 6 +++ windows/it-IT/firefox.adml | 6 +++ windows/ru-RU/firefox.adml | 6 +++ windows/zh-CN/firefox.adml | 6 +++ windows/zh-TW/firefox.adml | 6 +++ 12 files changed, 164 insertions(+) diff --git a/README.md b/README.md index efde516..bf538fe 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,7 @@ Unfortunately, JSON files do not support comments, but you can add extra entries | **[`Certificates`](#certificates)** | | **[`Certificates -> ImportEnterpriseRoots`](#certificates--importenterpriseroots)** | Trust certificates that have been added to the operating system certificate store by a user or administrator. | **[`Certificates -> Install`](#certificates--install)** | Install certificates into the Firefox certificate store. +| **[`Containers`](#containers)** | Set policies related to [containers](https://addons.mozilla.org/firefox/addon/multi-account-containers/). | **[`Cookies`](#cookies)** | Configure cookie preferences. | **[`DefaultDownloadDirectory`](#defaultdownloaddirectory)** | Set the default download directory. | **[`DisableAppUpdate`](#disableappupdate)** | Turn off application updates. @@ -1000,6 +1001,91 @@ Value (string): } } ``` +### Containers +Set policies related to [containers](https://addons.mozilla.org/firefox/addon/multi-account-containers/). + +Currently you can set the initial set of containers. + +For each container, you can specify the name, icon, and color. + +| Name | Description | +| --- | --- | +| `name`| Name of container +| `icon` | Can be `fingerprint`, `briefcase`, `dollar`, `cart`, `vacation`, `gift`, `food`, `fruit`, `pet`, `tree`, `chill`, `circle`, `fence` +| `color` | Can be `blue`, `turquoise`, `green`, `yellow`, `orange`, `red`, `pink`, `purple`, `toolbar` + +**Compatibility:** Firefox 113\ +**CCK2 Equivalent:** N/A\ +**Preferences Affected:** N/A + +#### Windows (GPO) +Software\Policies\Mozilla\Firefox\Containers (REG_MULTI_SZ) = +``` +{ + "Default": [ + { + "name": "My container", + "icon": "pet", + "color": "turquoise" + } + ] +} +``` +#### Windows (Intune) +OMA-URI: +``` +./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/Containers +``` +Value (string): +``` + + +``` +#### macOS +``` + + Default + + Containers + + + name + My container + icon + pet + color + turquoise + + + + +``` +#### policies.json +``` +{ + "policies": { + "Containers": { + "Default": [ + { + "name": "My container", + "icon": "pet", + "color": "turquoise" + } + ] + } + } +} +``` ### Cookies Configure cookie preferences. diff --git a/linux/policies.json b/linux/policies.json index c38d88f..61017ef 100644 --- a/linux/policies.json +++ b/linux/policies.json @@ -43,6 +43,15 @@ "Certificates": { "Install": ["cert1.der", "/home/username/cert2.pem"], }, + "Containers": { + "Default": [ + { + "name": "My container", + "icon": "pet", + "color": "turquoise" + } + ] + }, "Cookies": { "Allow": ["http://example.org/"], "AllowSession": ["http://example.edu/"], diff --git a/mac/org.mozilla.firefox.plist b/mac/org.mozilla.firefox.plist index 9e05b66..65ffc7f 100644 --- a/mac/org.mozilla.firefox.plist +++ b/mac/org.mozilla.firefox.plist @@ -106,6 +106,20 @@ cert2.pem + Default + + Containers + + + name + My container + icon + pet + color + turquoise + + + Cookies Allow diff --git a/windows/de-DE/firefox.adml b/windows/de-DE/firefox.adml index 061b1e0..d993ceb 100644 --- a/windows/de-DE/firefox.adml +++ b/windows/de-DE/firefox.adml @@ -1007,6 +1007,12 @@ Wenn diese Richtlinieneinstellung deaktiviert oder nicht konfiguriert ist, wird Wenn diese Richtlinieneinstellung aktiviert ist, dürfen Benutzer keine Module von Drittanbietern auf der Seite about:third-party blockieren. Wenn diese Richtlinieneinstellung deaktiviert oder nicht konfiguriert ist, dürfen Benutzer Module von Drittanbietern auf der Seite about:third-party blockieren. + Containers + If this policy is enabled, you can use JSON to configure the default containers. + +If this policy is disabled or not configured, the built-in defaults are used. + +For detailed information on creating the policy, see https://github.com/mozilla/policy-templates/blob/master/README.md#containers. Wenn diese Richtlinieneinstellung aktiviert ist, ist die Einstellung auf true gesperrt. Wenn diese Richtlinieneinstellung deaktiviert ist, ist die Einstellung auf false gesperrt. Für eine Beschreibung der Einstellung, siehe: diff --git a/windows/en-US/firefox.adml b/windows/en-US/firefox.adml index 78faf81..6b4db1b 100644 --- a/windows/en-US/firefox.adml +++ b/windows/en-US/firefox.adml @@ -1002,6 +1002,12 @@ If this policy is disabled or not configured, DNS is not proxied when using SOCK If this policy is enabled, users are not allowed to block third-party modules from the about:third-party page. If this policy is disabled or not configured, users users are allowed to block third-party modules from the about:third-party page. + Containers + If this policy is enabled, you can use JSON to configure the default containers. + +If this policy is disabled or not configured, the built-in defaults are used. + +For detailed information on creating the policy, see https://github.com/mozilla/policy-templates/blob/master/README.md#containers. If this policy is enabled, the preference is locked to true. If this policy is disabled, the preference is locked to false. For a description of the preference, see: diff --git a/windows/es-ES/firefox.adml b/windows/es-ES/firefox.adml index 1c637ee..8ec0c91 100644 --- a/windows/es-ES/firefox.adml +++ b/windows/es-ES/firefox.adml @@ -1004,6 +1004,12 @@ If this policy is disabled or not configured, DNS is not proxied when using SOCK If this policy is enabled, users are not allowed to block third-party modules from the about:third-party page. If this policy is disabled or not configured, users users are allowed to block third-party modules from the about:third-party page. + Containers + If this policy is enabled, you can use JSON to configure the default containers. + +If this policy is disabled or not configured, the built-in defaults are used. + +For detailed information on creating the policy, see https://github.com/mozilla/policy-templates/blob/master/README.md#containers. Si esta política está habilitada, la preferencia se bloquea en true. Si esta política está deshabilitada, la preferencia está bloqueada en false. Para una descripción de la preferencia, visita: diff --git a/windows/firefox.admx b/windows/firefox.admx index 67a62a2..dbdaac5 100644 --- a/windows/firefox.admx +++ b/windows/firefox.admx @@ -4067,5 +4067,12 @@ + + + + + + + diff --git a/windows/fr-FR/firefox.adml b/windows/fr-FR/firefox.adml index 07f716e..e787f67 100644 --- a/windows/fr-FR/firefox.adml +++ b/windows/fr-FR/firefox.adml @@ -1003,6 +1003,12 @@ If this policy is disabled or not configured, DNS is not proxied when using SOCK If this policy is enabled, users are not allowed to block third-party modules from the about:third-party page. If this policy is disabled or not configured, users users are allowed to block third-party modules from the about:third-party page. + Containers + If this policy is enabled, you can use JSON to configure the default containers. + +If this policy is disabled or not configured, the built-in defaults are used. + +For detailed information on creating the policy, see https://github.com/mozilla/policy-templates/blob/master/README.md#containers. Si cette stratégie est activée, la préférence est verrouillée sur true. Si cette stratégie est désactivée, la préférence est verrouillée sur false. Pour une description de la préférence, voir: diff --git a/windows/it-IT/firefox.adml b/windows/it-IT/firefox.adml index f5a7b89..3a87b1a 100644 --- a/windows/it-IT/firefox.adml +++ b/windows/it-IT/firefox.adml @@ -1005,6 +1005,12 @@ If this policy is disabled or not configured, DNS is not proxied when using SOCK If this policy is enabled, users are not allowed to block third-party modules from the about:third-party page. If this policy is disabled or not configured, users users are allowed to block third-party modules from the about:third-party page. + Containers + If this policy is enabled, you can use JSON to configure the default containers. + +If this policy is disabled or not configured, the built-in defaults are used. + +For detailed information on creating the policy, see https://github.com/mozilla/policy-templates/blob/master/README.md#containers. Se questo criterio è abilitato, la preferenza è impostata a Vero e resa non modificabile. Se questo criterio è disabilitato, la preferenza è impostata a Falso e resa non modificabile. Per una descrizione della preferenza, si veda: diff --git a/windows/ru-RU/firefox.adml b/windows/ru-RU/firefox.adml index d016ec4..015d73d 100644 --- a/windows/ru-RU/firefox.adml +++ b/windows/ru-RU/firefox.adml @@ -1004,6 +1004,12 @@ If this policy is disabled or not configured, DNS is not proxied when using SOCK If this policy is enabled, users are not allowed to block third-party modules from the about:third-party page. If this policy is disabled or not configured, users users are allowed to block third-party modules from the about:third-party page. + Containers + If this policy is enabled, you can use JSON to configure the default containers. + +If this policy is disabled or not configured, the built-in defaults are used. + +For detailed information on creating the policy, see https://github.com/mozilla/policy-templates/blob/master/README.md#containers. Если эта политика включена, предпочтение заблокировано на true. Если эта политика отключена, предпочтение заблокировано на false. Описание предпочтения см.: diff --git a/windows/zh-CN/firefox.adml b/windows/zh-CN/firefox.adml index 5f76dca..8710a9d 100644 --- a/windows/zh-CN/firefox.adml +++ b/windows/zh-CN/firefox.adml @@ -1002,6 +1002,12 @@ If this policy is disabled or not configured, DNS is not proxied when using SOCK If this policy is enabled, users are not allowed to block third-party modules from the about:third-party page. If this policy is disabled or not configured, users users are allowed to block third-party modules from the about:third-party page. + Containers + If this policy is enabled, you can use JSON to configure the default containers. + +If this policy is disabled or not configured, the built-in defaults are used. + +For detailed information on creating the policy, see https://github.com/mozilla/policy-templates/blob/master/README.md#containers. 若启用此原则,偏好设定将锁定为 true。 若禁用此原则,偏好设定则锁定为false。 若需要偏好设置的详细说明,请参考: diff --git a/windows/zh-TW/firefox.adml b/windows/zh-TW/firefox.adml index b78b552..607e6ea 100644 --- a/windows/zh-TW/firefox.adml +++ b/windows/zh-TW/firefox.adml @@ -1002,6 +1002,12 @@ If this policy is disabled or not configured, DNS is not proxied when using SOCK If this policy is enabled, users are not allowed to block third-party modules from the about:third-party page. If this policy is disabled or not configured, users users are allowed to block third-party modules from the about:third-party page. + Containers + If this policy is enabled, you can use JSON to configure the default containers. + +If this policy is disabled or not configured, the built-in defaults are used. + +For detailed information on creating the policy, see https://github.com/mozilla/policy-templates/blob/master/README.md#containers. 若啟用此原則,偏好設定將鎖定為 true。若停用此原則,偏好設定則鎖定為 false。 若需要偏好設定的詳細說明,請參考: -- 2.34.1