]> git.p6c8.net - policy-templates.git/blobdiff - windows/firefox.admx
Add support for new Cookie Behavior policy
[policy-templates.git] / windows / firefox.admx
index d98c149247411cb914a5c46a90ca5764e9c28d9d..104f75edcc293aff0608a04d38634721a1084a9a 100644 (file)
@@ -1,10 +1,10 @@
 <?xml version="1.0" encoding="utf-8"?>
 <?xml version="1.0" encoding="utf-8"?>
-<policyDefinitions revision="3.0" schemaVersion="1.0">
+<policyDefinitions revision="3.3" schemaVersion="1.0">
   <policyNamespaces>
     <target prefix="firefox" namespace="Mozilla.Policies.Firefox"/>
     <using prefix="Mozilla" namespace="Mozilla.Policies"/>
   </policyNamespaces>
   <policyNamespaces>
     <target prefix="firefox" namespace="Mozilla.Policies.Firefox"/>
     <using prefix="Mozilla" namespace="Mozilla.Policies"/>
   </policyNamespaces>
-  <resources minRequiredRevision="3.0"/>
+  <resources minRequiredRevision="3.3"/>
   <supportedOn>
     <definitions>
       <definition name="UNSUPPORTED" displayName="$(string.UNSUPPORTED)"/>
   <supportedOn>
     <definitions>
       <definition name="UNSUPPORTED" displayName="$(string.UNSUPPORTED)"/>
       <definition name="SUPPORTED_FF88" displayName="$(string.SUPPORTED_FF88)"/>
       <definition name="SUPPORTED_FF89" displayName="$(string.SUPPORTED_FF89)"/>
       <definition name="SUPPORTED_FF90" displayName="$(string.SUPPORTED_FF90)"/>
       <definition name="SUPPORTED_FF88" displayName="$(string.SUPPORTED_FF88)"/>
       <definition name="SUPPORTED_FF89" displayName="$(string.SUPPORTED_FF89)"/>
       <definition name="SUPPORTED_FF90" displayName="$(string.SUPPORTED_FF90)"/>
-    </<definition name="SUPPORTED_FF91" displayName="$(string.SUPPORTED_FF91)"/>
+      <definition name="SUPPORTED_FF91" displayName="$(string.SUPPORTED_FF91)"/>
+      <definition name="SUPPORTED_FF95" displayName="$(string.SUPPORTED_FF95)"/>
+      <definition name="SUPPORTED_FF96" displayName="$(string.SUPPORTED_FF96)"/>
+      <definition name="SUPPORTED_FF97" displayName="$(string.SUPPORTED_FF97)"/>
+      <definition name="SUPPORTED_FF98" displayName="$(string.SUPPORTED_FF98)"/>
+      <definition name="SUPPORTED_FF99" displayName="$(string.SUPPORTED_FF99)"/>
+      <definition name="SUPPORTED_FF100" displayName="$(string.SUPPORTED_FF100)"/>
     </definitions>
   </supportedOn>
   <categories>
     </definitions>
   </supportedOn>
   <categories>
         <decimal value="0"/>
       </disabledValue>
     </policy>
         <decimal value="0"/>
       </disabledValue>
     </policy>
+    <policy name="Cookies_Behavior" class="Both" displayName="$(string.Cookies_Behavior)" explainText="$(string.Cookies_Behavior_Explain)" key="Software\Policies\Mozilla\Firefox\Cookies"  presentation="$(presentation.Cookies_Behavior)">
+      <parentCategory ref="Cookies"/>
+      <supportedOn ref="SUPPORTED_FF95"/>
+      <elements>
+        <enum id="Cookies_Behavior" valueName="Behavior">
+          <item displayName="$(string.Cookies_Behavior_Accept)">
+            <value>
+              <string>accept</string>
+            </value>
+          </item>
+          <item displayName="$(string.Cookies_Behavior_RejectForeign)">
+            <value>
+              <string>reject-foreign</string>
+            </value>
+          </item>
+          <item displayName="$(string.Cookies_Behavior_Reject)">
+            <value>
+              <string>reject</string>
+            </value>
+          </item>
+          <item displayName="$(string.Cookies_Behavior_LimitForeign)">
+            <value>
+              <string>limit-foreign</string>
+            </value>
+          </item>
+          <item displayName="$(string.Cookies_Behavior_RejectTracker)">
+            <value>
+              <string>reject-tracker</string>
+            </value>
+          </item>
+          <item displayName="$(string.Cookies_Behavior_RejectTrackerAndPartitionForeign)">
+            <value>
+              <string>reject-tracker-and-partition-foreign</string>
+            </value>
+          </item>
+        </enum>
+      </elements>
+    </policy>
+    <policy name="Cookies_BehaviorPrivateBrowsing" class="Both" displayName="$(string.Cookies_BehaviorPrivateBrowsing)" explainText="$(string.Cookies_BehaviorPrivateBrowsing_Explain)" key="Software\Policies\Mozilla\Firefox\Cookies"  presentation="$(presentation.Cookies_BehaviorPrivateBrowsing)">
+      <parentCategory ref="Cookies"/>
+      <supportedOn ref="SUPPORTED_FF95"/>
+      <elements>
+        <enum id="Cookies_BehaviorPrivateBrowsing" valueName="BehaviorPrivateBrowsing">
+          <item displayName="$(string.Cookies_Behavior_Accept)">
+            <value>
+              <string>accept</string>
+            </value>
+          </item>
+          <item displayName="$(string.Cookies_Behavior_RejectForeign)">
+            <value>
+              <string>reject-foreign</string>
+            </value>
+          </item>
+          <item displayName="$(string.Cookies_Behavior_Reject)">
+            <value>
+              <string>reject</string>
+            </value>
+          </item>
+          <item displayName="$(string.Cookies_Behavior_LimitForeign)">
+            <value>
+              <string>limit-foreign</string>
+            </value>
+          </item>
+          <item displayName="$(string.Cookies_Behavior_RejectTracker)">
+            <value>
+              <string>reject-tracker</string>
+            </value>
+          </item>
+          <item displayName="$(string.Cookies_Behavior_RejectTrackerAndPartitionForeign)">
+            <value>
+              <string>reject-tracker-and-partition-foreign</string>
+            </value>
+          </item>
+        </enum>
+      </elements>
+    </policy>
     <policy name="Camera_Allow" class="Both" displayName="$(string.Allow)" explainText="$(string.Camera_Allow_Explain)" key="Software\Policies\Mozilla\Firefox\Permissions" presentation="$(presentation.Permissions)">
       <parentCategory ref="Camera"/>
       <supportedOn ref="SUPPORTED_FF62"/>
     <policy name="Camera_Allow" class="Both" displayName="$(string.Allow)" explainText="$(string.Camera_Allow_Explain)" key="Software\Policies\Mozilla\Firefox\Permissions" presentation="$(presentation.Permissions)">
       <parentCategory ref="Camera"/>
       <supportedOn ref="SUPPORTED_FF62"/>
         <list id="Extensions" key="Software\Policies\Mozilla\Firefox\Extensions\Locked" valuePrefix=""/>
       </elements>
     </policy>
         <list id="Extensions" key="Software\Policies\Mozilla\Firefox\Extensions\Locked" valuePrefix=""/>
       </elements>
     </policy>
-    <policy name="ExtensionSettings" class="Both" displayName="$(string.ExtensionSettings)"  key="Software\Policies\Mozilla\Firefox" explainText="$(string.ExtensionSettings_Explain)"  presentation="$(presentation.ExtensionSettings)">">
+    <policy name="ExtensionSettings" class="Both" displayName="$(string.ExtensionSettings)"  key="Software\Policies\Mozilla\Firefox" explainText="$(string.ExtensionSettings_Explain)" presentation="$(presentation.ExtensionSettings)">
       <parentCategory ref="Extensions"/>
       <supportedOn ref="SUPPORTED_FF69"/>
       <elements>
       <parentCategory ref="Extensions"/>
       <supportedOn ref="SUPPORTED_FF69"/>
       <elements>
             <decimal value="0"/>
           </falseValue>
         </boolean>
             <decimal value="0"/>
           </falseValue>
         </boolean>
+        <boolean id="FirefoxHome_SponsoredTopSites" key="Software\Policies\Mozilla\Firefox\FirefoxHome" valueName="SponsoredTopSites">
+          <trueValue>
+            <decimal value="1"/>
+          </trueValue>
+          <falseValue>
+            <decimal value="0"/>
+          </falseValue>
+        </boolean>
         <boolean id="FirefoxHome_Highlights" key="Software\Policies\Mozilla\Firefox\FirefoxHome" valueName="Highlights">
           <trueValue>
             <decimal value="1"/>
         <boolean id="FirefoxHome_Highlights" key="Software\Policies\Mozilla\Firefox\FirefoxHome" valueName="Highlights">
           <trueValue>
             <decimal value="1"/>
             <decimal value="0"/>
           </falseValue>
         </boolean>
             <decimal value="0"/>
           </falseValue>
         </boolean>
+        <boolean id="FirefoxHome_SponsoredPocket" key="Software\Policies\Mozilla\Firefox\FirefoxHome" valueName="SponsoredPocket">
+          <trueValue>
+            <decimal value="1"/>
+          </trueValue>
+          <falseValue>
+            <decimal value="0"/>
+          </falseValue>
+        </boolean>
         <boolean id="FirefoxHome_Snippets" key="Software\Policies\Mozilla\Firefox\FirefoxHome" valueName="Snippets">
           <trueValue>
             <decimal value="1"/>
         <boolean id="FirefoxHome_Snippets" key="Software\Policies\Mozilla\Firefox\FirefoxHome" valueName="Snippets">
           <trueValue>
             <decimal value="1"/>
         <decimal value="0"/>
       </disabledValue>
     </policy>
         <decimal value="0"/>
       </disabledValue>
     </policy>
+    <policy name="A_Bookmarks" class="Both" displayName="$(string.Bookmarks)"  key="Software\Policies\Mozilla\Firefox" explainText="$(string.Bookmarks_Explain)" presentation="$(presentation.JSON)">
+      <parentCategory ref="Bookmarks"/>
+      <supportedOn ref="SUPPORTED_FF95"/>
+      <elements>
+        <multiText id="JSON" valueName="Bookmarks"  maxLength="16384"/>
+      </elements>
+    </policy>
     <policy name="Bookmark01" class="Both" displayName="$(string.Bookmark01)" explainText="$(string.Bookmark_Explain)" key="Software\Policies\Mozilla\Firefox\Bookmarks\1" presentation="$(presentation.Bookmark)" >
       <parentCategory ref="Bookmarks" />
       <supportedOn ref="SUPPORTED_FF60" />
     <policy name="Bookmark01" class="Both" displayName="$(string.Bookmark01)" explainText="$(string.Bookmark_Explain)" key="Software\Policies\Mozilla\Firefox\Bookmarks\1" presentation="$(presentation.Bookmark)" >
       <parentCategory ref="Bookmarks" />
       <supportedOn ref="SUPPORTED_FF60" />

patrick-canterino.de