From fb6ac96f21310251ffda68657c8cb90da9f4c544 Mon Sep 17 00:00:00 2001 From: Michael Kaply <345868+mkaply@users.noreply.github.com> Date: Wed, 20 Mar 2024 16:29:38 -0400 Subject: [PATCH] Add AllowFileSelectionDialogs policy --- docs/index.md | 37 +++++++++++++++++++++++++++++++++++++ windows/de-DE/firefox.adml | 4 ++++ windows/en-US/firefox.adml | 4 ++++ windows/es-ES/firefox.adml | 4 ++++ windows/firefox.admx | 10 ++++++++++ windows/fr-FR/firefox.adml | 4 ++++ windows/it-IT/firefox.adml | 4 ++++ windows/ru-RU/firefox.adml | 4 ++++ windows/zh-CN/firefox.adml | 4 ++++ windows/zh-TW/firefox.adml | 4 ++++ 10 files changed, 79 insertions(+) diff --git a/docs/index.md b/docs/index.md index 5892ef6..9e657cc 100644 --- a/docs/index.md +++ b/docs/index.md @@ -17,6 +17,7 @@ Unfortunately, JSON files do not support comments, but you can add extra entries | --- | --- | | **[`3rdparty`](#3rdparty)** | Set policies that WebExtensions can access via chrome.storage.managed. | **[`AllowedDomainsForApps`](#alloweddomainsforapps)** | Define domains allowed to access Google Workspace. +| **[`AllowFileSelectionDialogs`](#allowfileselectiondialogs)** | Allow file selection dialogs. | **[`AppAutoUpdate`](#appautoupdate)** | Enable or disable automatic application update. | **[`AppUpdatePin`](#appupdatepin)** | Prevent Firefox from being updated beyond the specified version. | **[`AppUpdateURL`](#appupdateurl)** | Change the URL for application update. @@ -219,6 +220,42 @@ Value (string): } } ``` +### AllowFileSelectionDialogs + +Enable or disable file selection dialogs. + +**Compatibility:** Firefox 124\ +**CCK2 Equivalent:** N/A\ +**Preferences Affected:** `widget.disable_file_pickers` + +#### Windows (GPO) +``` +Software\Policies\Mozilla\Firefox\AllowFileSelectionDialogs = 0x1 | 0x0 +``` +#### Windows (Intune) +OMA-URI: +``` +./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/AppAutoAllowFileSelectionDialogsUpdate +``` +Value (string): +``` + or +``` +#### macOS +``` + + AllowFileSelectionDialogs + | + +``` +#### policies.json +``` +{ + "policies": { + "AllowFileSelectionDialogs": true | false + } +} +``` ### AppAutoUpdate Enable or disable **automatic** application update. diff --git a/windows/de-DE/firefox.adml b/windows/de-DE/firefox.adml index a4b5b92..a640737 100644 --- a/windows/de-DE/firefox.adml +++ b/windows/de-DE/firefox.adml @@ -1085,6 +1085,10 @@ Wenn diese Richtlinieneinstellung aktiviert oder nicht konfiguriert ist, ist das If this policy is disabled or not configured, the browser receives updates. This policy is not recommended for most users. + Allow File Selection Dialogs + If this policy is disabled, users will not be able to open file selection dialogs. In most cases, Firefox will act as if the user clicked the cancel button. + +If this policy is enabled or not configured, users can open file selection dialogs. 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 95635bb..23b456a 100644 --- a/windows/en-US/firefox.adml +++ b/windows/en-US/firefox.adml @@ -1080,6 +1080,10 @@ If this policy is enabled or not configured, printing is enabled. If this policy is disabled or not configured, the browser receives updates. This policy is not recommended for most users. + Allow File Selection Dialogs + If this policy is disabled, users will not be able to open file selection dialogs. In most cases, Firefox will act as if the user clicked the cancel button. + +If this policy is enabled or not configured, users can open file selection dialogs. 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 76382e0..7818076 100644 --- a/windows/es-ES/firefox.adml +++ b/windows/es-ES/firefox.adml @@ -1082,6 +1082,10 @@ If this policy is enabled or not configured, printing is enabled. If this policy is disabled or not configured, the browser receives updates. This policy is not recommended for most users. + Allow File Selection Dialogs + If this policy is disabled, users will not be able to open file selection dialogs. In most cases, Firefox will act as if the user clicked the cancel button. + +If this policy is enabled or not configured, users can open file selection dialogs. 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 59b02a3..51ec995 100644 --- a/windows/firefox.admx +++ b/windows/firefox.admx @@ -4175,5 +4175,15 @@ + + + + + + + + + + diff --git a/windows/fr-FR/firefox.adml b/windows/fr-FR/firefox.adml index 468f961..8801eb4 100644 --- a/windows/fr-FR/firefox.adml +++ b/windows/fr-FR/firefox.adml @@ -1081,6 +1081,10 @@ If this policy is enabled or not configured, printing is enabled. If this policy is disabled or not configured, the browser receives updates. This policy is not recommended for most users. + Allow File Selection Dialogs + If this policy is disabled, users will not be able to open file selection dialogs. In most cases, Firefox will act as if the user clicked the cancel button. + +If this policy is enabled or not configured, users can open file selection dialogs. 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 dbabeee..fe0385d 100644 --- a/windows/it-IT/firefox.adml +++ b/windows/it-IT/firefox.adml @@ -1083,6 +1083,10 @@ If this policy is enabled or not configured, printing is enabled. If this policy is disabled or not configured, the browser receives updates. This policy is not recommended for most users. + Allow File Selection Dialogs + If this policy is disabled, users will not be able to open file selection dialogs. In most cases, Firefox will act as if the user clicked the cancel button. + +If this policy is enabled or not configured, users can open file selection dialogs. 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 9d09a09..c587f5c 100644 --- a/windows/ru-RU/firefox.adml +++ b/windows/ru-RU/firefox.adml @@ -1082,6 +1082,10 @@ If this policy is enabled or not configured, printing is enabled. If this policy is disabled or not configured, the browser receives updates. This policy is not recommended for most users. + Allow File Selection Dialogs + If this policy is disabled, users will not be able to open file selection dialogs. In most cases, Firefox will act as if the user clicked the cancel button. + +If this policy is enabled or not configured, users can open file selection dialogs. Если эта политика включена, предпочтение заблокировано на true. Если эта политика отключена, предпочтение заблокировано на false. Описание предпочтения см.: diff --git a/windows/zh-CN/firefox.adml b/windows/zh-CN/firefox.adml index fcdd723..0119c82 100644 --- a/windows/zh-CN/firefox.adml +++ b/windows/zh-CN/firefox.adml @@ -1082,6 +1082,10 @@ If this policy is enabled or not configured, printing is enabled. If this policy is disabled or not configured, the browser receives updates. This policy is not recommended for most users. + Allow File Selection Dialogs + If this policy is disabled, users will not be able to open file selection dialogs. In most cases, Firefox will act as if the user clicked the cancel button. + +If this policy is enabled or not configured, users can open file selection dialogs. 若启用此原则,偏好设定将锁定为 true。 若禁用此原则,偏好设定则锁定为false。 若需要偏好设置的详细说明,请参考: diff --git a/windows/zh-TW/firefox.adml b/windows/zh-TW/firefox.adml index 8f248ff..af9cc60 100644 --- a/windows/zh-TW/firefox.adml +++ b/windows/zh-TW/firefox.adml @@ -1080,6 +1080,10 @@ If this policy is enabled or not configured, printing is enabled. If this policy is disabled or not configured, the browser receives updates. This policy is not recommended for most users. + Allow File Selection Dialogs + If this policy is disabled, users will not be able to open file selection dialogs. In most cases, Firefox will act as if the user clicked the cancel button. + +If this policy is enabled or not configured, users can open file selection dialogs. 若啟用此原則,偏好設定將鎖定為 true。若停用此原則,偏好設定則鎖定為 false。 若需要偏好設定的詳細說明,請參考: -- 2.34.1