From 525397bec68a070810b8dec08803782c2624a631 Mon Sep 17 00:00:00 2001
From: Michael Kaply <345868+mkaply@users.noreply.github.com>
Date: Thu, 20 Aug 2020 15:58:24 -0500
Subject: [PATCH] Virtual Reality policy for Permissions
---
README.md | 44 ++++++++++++++++++++++++++++++++---
mac/org.mozilla.firefox.plist | 15 ++++++++++++
windows/de-DE/firefox.adml | 15 ++++++++++++
windows/en-US/firefox.adml | 15 ++++++++++++
windows/es-ES/firefox.adml | 15 ++++++++++++
windows/firefox.admx | 37 +++++++++++++++++++++++++++++
windows/fr-FR/firefox.adml | 15 ++++++++++++
windows/it-IT/firefox.adml | 15 ++++++++++++
windows/zh-TW/firefox.adml | 15 ++++++++++++
9 files changed, 183 insertions(+), 3 deletions(-)
diff --git a/README.md b/README.md
index f688606..b767ff5 100644
--- a/README.md
+++ b/README.md
@@ -3328,7 +3328,7 @@ Value (string):
}
```
### Permissions
-Set permissions associated with camera, microphone, location, notifications, and autoplay. Because these are origins, not domains, entries with unique ports must be specified separately. See examples below.
+Set permissions associated with camera, microphone, location, notifications, autoplay, and virtual reality. Because these are origins, not domains, entries with unique ports must be specified separately. See examples below.
`Allow` is a list of origins where the feature is allowed.
@@ -3340,9 +3340,9 @@ Set permissions associated with camera, microphone, location, notifications, and
`Default` specifies the default value for Autoplay. block-audio-video is not supported on Firefox ESR 68.
-**Compatibility:** Firefox 62, Firefox ESR 60.2 (Autoplay added in Firefox 74, Firefox ESR 68.6, Autoplay Default/Locked added in Firefox 76, Firefox ESR 68.8)\
+**Compatibility:** Firefox 62, Firefox ESR 60.2 (Autoplay added in Firefox 74, Firefox ESR 68.6, Autoplay Default/Locked added in Firefox 76, Firefox ESR 68.8, VirtualReality added in Firefox 80, Firefox ESR 78.2)\
**CCK2 Equivalent:** N/A\
-**Preferences Affected:** `permissions.default.camera`,`permissions.default.microphone`,`permissions.default.geo`,`permissions.default.desktop-notification`,`media.autoplay.default`
+**Preferences Affected:** `permissions.default.camera`,`permissions.default.microphone`,`permissions.default.geo`,`permissions.default.desktop-notification`,`media.autoplay.default`.`permissions.default.xr`
#### Windows (GPO)
```
@@ -3367,6 +3367,10 @@ Software\Policies\Mozilla\Firefox\Permissions\Autoplay\Allow\1 = "https://exampl
Software\Policies\Mozilla\Firefox\Permissions\Autoplay\Block\1 = "https://example.edu"
Software\Policies\Mozilla\Firefox\Permissions\Autoplay\Default = "allow-audio-video" | "block-audio" | "block-audio-video"
Software\Policies\Mozilla\Firefox\Permissions\Autoplay\Locked = 0x1 | 0x0
+Software\Policies\Mozilla\Firefox\Permissions\VirtualReality\Allow\1 = "https://example.org"
+Software\Policies\Mozilla\Firefox\Permissions\VirtualReality\Block\1 = "https://example.edu"
+Software\Policies\Mozilla\Firefox\Permissions\VirtualReality\BlockNewRequests = 0x1 | 0x0
+Software\Policies\Mozilla\Firefox\Permissions\VirtualReality\Locked = 0x1 | 0x0
```
#### Windows (Intune)
OMA-URI:
@@ -3445,6 +3449,40 @@ Value (string):
```
or
```
+OMA-URI:
+```
+./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~Permissions~Notifications/VirtualReality_Allow
+```
+Value (string):
+```
+
+
+```
+OMA-URI:
+```
+./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~Permissions~Notifications/VirtualReality_Block
+```
+Value (string):
+```
+
+
+```
+OMA-URI:
+```
+./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~Permissions~Notifications/VirtualReality_BlockNewRequests
+```
+Value (string):
+```
+ or
+```
+OMA-URI:
+```
+./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~Permissions~Notifications/VirtualReality_Locked
+```
+Value (string):
+```
+ or
+```
#### macOS
```
diff --git a/mac/org.mozilla.firefox.plist b/mac/org.mozilla.firefox.plist
index 232504f..6b0026a 100644
--- a/mac/org.mozilla.firefox.plist
+++ b/mac/org.mozilla.firefox.plist
@@ -480,6 +480,21 @@
Locked
+ VirtualReality
+
+ Allow
+
+ https://example.org
+
+ Block
+
+ https://example.edu
+
+ BlockNewRequests
+
+ Locked
+
+
PictureInPicture
diff --git a/windows/de-DE/firefox.adml b/windows/de-DE/firefox.adml
index 68b44ac..1a5c4ab 100644
--- a/windows/de-DE/firefox.adml
+++ b/windows/de-DE/firefox.adml
@@ -39,6 +39,7 @@
Standort
Benachrichtigungen
Automatische Wiedergabe
+ Virtual Reality
Authentifizierung
Lesezeichen
Zertifikate
@@ -452,6 +453,20 @@ Wenn diese Richtlinieneinstellung deaktiviert oder nicht konfiguriert ist, könn
Automatische Audio- und Videowiedergabe erlauben
Automatische Audiowiedergabe blockieren
Automatische Audio- und Videowiedergabe blockieren
+ If this policy is enabled, access to virtual reality devices is always allowed for the origins indicated.
+
+If this policy is disabled or not configured, the default virtual reality policy is followed.
+ If this policy is enabled, access to virtual reality devices is blocked for the origins indicated.
+
+If this policy is disabled or not configured, access to virtual reality devices is not blocked by default.
+ Block new requests asking to access virtual reality devices.
+ If this policy is enabled, sites that are not in the Allow policy will not be allowed to ask permission to access virtual reality devices.
+
+If this policy is disabled or not configured, any site that is not in the Block policy can ask permission to virtual reality devices.
+ Do not allow preferences to be changed
+ If this policy is enabled, virtual reality preferences cannot be changed by the user.
+
+If this policy is disabled or not configured, the user can change their virtual reality preferences.
Firefox Home anpassen
Wenn diese Richtlinieneinstellung aktiviert ist, können die Sektionen festgelegt werden, die der Anwender sieht und der Anwender kann diese nicht mehr anpassen.
diff --git a/windows/en-US/firefox.adml b/windows/en-US/firefox.adml
index 1cdb400..30cd8fc 100644
--- a/windows/en-US/firefox.adml
+++ b/windows/en-US/firefox.adml
@@ -39,6 +39,7 @@
Location
Notifications
Autoplay
+ Virtual Reality
Authentication
Bookmarks
Certificates
@@ -452,6 +453,20 @@ If this policy is disabled or not configured, the user can change autoplay prefe
Allow Audio and Video
Block Audio
Block Audio and Video
+ If this policy is enabled, access to virtual reality devices is always allowed for the origins indicated.
+
+If this policy is disabled or not configured, the default virtual reality policy is followed.
+ If this policy is enabled, access to virtual reality devices is blocked for the origins indicated.
+
+If this policy is disabled or not configured, access to virtual reality devices is not blocked by default.
+ Block new requests asking to access virtual reality devices.
+ If this policy is enabled, sites that are not in the Allow policy will not be allowed to ask permission to access virtual reality devices.
+
+If this policy is disabled or not configured, any site that is not in the Block policy can ask permission to virtual reality devices.
+ Do not allow preferences to be changed
+ If this policy is enabled, virtual reality preferences cannot be changed by the user.
+
+If this policy is disabled or not configured, the user can change their virtual reality preferences.
Customize Firefox Home
If this policy is enabled, you can choose the sections displayed on Firefox Home and prevent the user from changing them.
diff --git a/windows/es-ES/firefox.adml b/windows/es-ES/firefox.adml
index e204b5e..9dd11a9 100644
--- a/windows/es-ES/firefox.adml
+++ b/windows/es-ES/firefox.adml
@@ -39,6 +39,7 @@
Ubicación
Notificaciones
Reproducción automática
+ Virtual Reality
Autenticación
Marcadores
Certificados
@@ -452,6 +453,20 @@ Si esta polÃtica está deshabilitada o no está configurada, el usuario podrá
Permitir audio y vÃdeo
Bloquear audio
Bloquear audio y vÃdeo
+ If this policy is enabled, access to virtual reality devices is always allowed for the origins indicated.
+
+If this policy is disabled or not configured, the default virtual reality policy is followed.
+ If this policy is enabled, access to virtual reality devices is blocked for the origins indicated.
+
+If this policy is disabled or not configured, access to virtual reality devices is not blocked by default.
+ Block new requests asking to access virtual reality devices.
+ If this policy is enabled, sites that are not in the Allow policy will not be allowed to ask permission to access virtual reality devices.
+
+If this policy is disabled or not configured, any site that is not in the Block policy can ask permission to virtual reality devices.
+ Do not allow preferences to be changed
+ If this policy is enabled, virtual reality preferences cannot be changed by the user.
+
+If this policy is disabled or not configured, the user can change their virtual reality preferences.
Personalizar inicio de Firefox
Si esta polÃtica está habilitada, podrá elegir las secciones que se muestran en la página de inicio de Firefox e impedir que el usuario las cambie.
diff --git a/windows/firefox.admx b/windows/firefox.admx
index 197de0d..45070eb 100644
--- a/windows/firefox.admx
+++ b/windows/firefox.admx
@@ -88,6 +88,9 @@
+
+
+
@@ -543,6 +546,40 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/windows/fr-FR/firefox.adml b/windows/fr-FR/firefox.adml
index 0cb5a8e..802be99 100644
--- a/windows/fr-FR/firefox.adml
+++ b/windows/fr-FR/firefox.adml
@@ -39,6 +39,7 @@
Localisation
Notifications
Autoplay
+ Virtual Reality
Authentification
Signets
Certificats
@@ -452,6 +453,20 @@ Si cette stratégie est désactivée ou n'est pas configurée, l'utilisateur peu
Autoriser l'audio et la vidéo
Bloquer l'audio
Bloquer l'audio et la vidéo
+ If this policy is enabled, access to virtual reality devices is always allowed for the origins indicated.
+
+If this policy is disabled or not configured, the default virtual reality policy is followed.
+ If this policy is enabled, access to virtual reality devices is blocked for the origins indicated.
+
+If this policy is disabled or not configured, access to virtual reality devices is not blocked by default.
+ Block new requests asking to access virtual reality devices.
+ If this policy is enabled, sites that are not in the Allow policy will not be allowed to ask permission to access virtual reality devices.
+
+If this policy is disabled or not configured, any site that is not in the Block policy can ask permission to virtual reality devices.
+ Do not allow preferences to be changed
+ If this policy is enabled, virtual reality preferences cannot be changed by the user.
+
+If this policy is disabled or not configured, the user can change their virtual reality preferences.
Personnaliser Firefox Home
Si cette politique est activée, vous pouvez choisir les sections affichées sur Firefox Home et empêcher l'utilisateur de les modifier.
diff --git a/windows/it-IT/firefox.adml b/windows/it-IT/firefox.adml
index 9068cc3..d22d445 100644
--- a/windows/it-IT/firefox.adml
+++ b/windows/it-IT/firefox.adml
@@ -39,6 +39,7 @@
Posizione
Notifiche
Riproduzione automatica
+ Virtual Reality
Autenticazione
Segnalibri
Certificati
@@ -452,6 +453,20 @@ Se questo criterio è disabilitato o non configurato, l'utente può modificare l
Consenti audio e video
Blocca audio
Blocca audio e video
+ If this policy is enabled, access to virtual reality devices is always allowed for the origins indicated.
+
+If this policy is disabled or not configured, the default virtual reality policy is followed.
+ If this policy is enabled, access to virtual reality devices is blocked for the origins indicated.
+
+If this policy is disabled or not configured, access to virtual reality devices is not blocked by default.
+ Block new requests asking to access virtual reality devices.
+ If this policy is enabled, sites that are not in the Allow policy will not be allowed to ask permission to access virtual reality devices.
+
+If this policy is disabled or not configured, any site that is not in the Block policy can ask permission to virtual reality devices.
+ Do not allow preferences to be changed
+ If this policy is enabled, virtual reality preferences cannot be changed by the user.
+
+If this policy is disabled or not configured, the user can change their virtual reality preferences.
Personalizza pagina iniziale di Firefox
Se questo criterio è abilitato, è possibile scegliere le sezioni visualizzate nella pagina iniziale di Firefox e impedire all'utente di modificarle.
diff --git a/windows/zh-TW/firefox.adml b/windows/zh-TW/firefox.adml
index 27ce141..3f5b156 100644
--- a/windows/zh-TW/firefox.adml
+++ b/windows/zh-TW/firefox.adml
@@ -39,6 +39,7 @@
ä½ç½®
éç¥
èªåææ¾
+ Virtual Reality
é©è
æ¸ç±¤
æè
@@ -450,6 +451,20 @@ If this policy is disabled or not configured, the default cookie policy is follo
å
許影é³èªåææ¾
å°éé³è¨èªåææ¾
å°éå½±é³èªåææ¾
+ If this policy is enabled, access to virtual reality devices is always allowed for the origins indicated.
+
+If this policy is disabled or not configured, the default virtual reality policy is followed.
+ If this policy is enabled, access to virtual reality devices is blocked for the origins indicated.
+
+If this policy is disabled or not configured, access to virtual reality devices is not blocked by default.
+ Block new requests asking to access virtual reality devices.
+ If this policy is enabled, sites that are not in the Allow policy will not be allowed to ask permission to access virtual reality devices.
+
+If this policy is disabled or not configured, any site that is not in the Block policy can ask permission to virtual reality devices.
+ Do not allow preferences to be changed
+ If this policy is enabled, virtual reality preferences cannot be changed by the user.
+
+If this policy is disabled or not configured, the user can change their virtual reality preferences.
èªè¨ Firefox é¦é
è¥åç¨æ¤ååï¼å°å¯ä»¥è¨å®è¦å¨ Firefox é¦é 顯示åªäºæ®µè½ï¼ä¸¦é²æ¢ä½¿ç¨è
æ´æ¹è¨å®ã
--
2.34.1