]> git.p6c8.net - policy-templates.git/commitdiff
Support Menu policy
authorMichael Kaply <consulting@kaply.com>
Tue, 21 May 2019 20:30:25 +0000 (15:30 -0500)
committerMichael Kaply <consulting@kaply.com>
Tue, 21 May 2019 20:30:25 +0000 (15:30 -0500)
README.md
mac/org.mozilla.firefox.plist
windows/en-US/firefox.adml
windows/firefox.admx

index ef19a94f5766fb026536517f2ca3f3494c78c6d0..9b53a0e3b130f0a693c028420a03c1686c3c3371 100644 (file)
--- a/README.md
+++ b/README.md
@@ -674,3 +674,16 @@ This policy allows you to set the maximum TLS version.
   }
 }
 ```
   }
 }
 ```
+### SupportMenu
+This policy adds a menuitem to the help menu for specifying support information.
+```
+{
+  "policies": {
+    "SupportMenu": {
+      "Title": "Click here for help", /* Title of the menu */
+      "URL": "http://example.edu/", /* Destination URL */
+      "AccessKey": "C" /* Shortcut key */
+    }
+  }
+}
+```
index 7b0bef2a525d4a8983010bf97a5c7105aa28201a..89f5e28609f494ab96d443c55c7ab2d09f4fc328 100644 (file)
        <string>tls1.2</string>
        <key>SSLMaxVersion</key>
        <string>tls1.3</string>
        <string>tls1.2</string>
        <key>SSLMaxVersion</key>
        <string>tls1.3</string>
+       <key>SupportMenu</key>
+       <dict>
+               <key>Title</key>
+               <string>Click here for help</string>
+               <key>URL</key>
+               <string>http://example.edu/</string>
+               <key>AccessKey</key>
+               <string>C</string>
+       </dict>
 </dict>
 </plist>
 </dict>
 </plist>
index 3f6572f6a875593474613dfda10d454d805d9e6e..15ff6aee320f3dbb2f0463ed200ca93cc47cae30 100644 (file)
@@ -497,6 +497,10 @@ If this policy is disabled or not configured, Firefox defaults to a minimum of T
       <string id="SSLVersionMax_Explain">If this policy is enabled, Firefox will not use SSL/TLS versions greater than the value specified.
 
 If this policy is disabled or not configured, Firefox defaults to a maximum of TLS 1.3.</string>
       <string id="SSLVersionMax_Explain">If this policy is enabled, Firefox will not use SSL/TLS versions greater than the value specified.
 
 If this policy is disabled or not configured, Firefox defaults to a maximum of TLS 1.3.</string>
+      <string id="SupportMenu">Support Menu</string>
+      <string id="SupportMenu_Explain">If this policy is enabled, a new menuitem is added to the help menu with support information.
+
+If this policy is disabled or not configured, no menuitem is added.</string>
       <string id="TLS1">TLS 1.0</string>
       <string id="TLS1_1">TLS 1.1</string>
       <string id="TLS1_2">TLS 1.2</string>
       <string id="TLS1">TLS 1.0</string>
       <string id="TLS1_1">TLS 1.1</string>
       <string id="TLS1_2">TLS 1.2</string>
@@ -655,6 +659,20 @@ If this policy is disabled or not configured, Firefox defaults to a maximum of T
       <presentation id="SSLVersion">
         <dropdownList refId="SSLVersion"/>
       </presentation>
       <presentation id="SSLVersion">
         <dropdownList refId="SSLVersion"/>
       </presentation>
+      <presentation id="SupportMenu">
+        <text>Title:</text>
+        <textBox refId="SupportMenuTitle">
+          <label/>
+        </textBox>
+        <text>URL:</text>
+        <textBox refId="SupportMenuURL">
+          <label/>
+        </textBox>
+        <text>Access key:</text>
+        <textBox refId="SupportMenuAccessKey">
+          <label/>
+        </textBox>
+      </presentation>
     </presentationTable>
   </resources>
 </policyDefinitionResources>
     </presentationTable>
   </resources>
 </policyDefinitionResources>
index 383ba170d1c63706b52481cee63e49bafbf6919c..6a94751b6bcb13ad72c610e4f39e06f72159e712 100644 (file)
         </enum>
       </elements>
     </policy>
         </enum>
       </elements>
     </policy>
+    <policy name="SupportMenu" class="Both" displayName="$(string.SupportMenu)" explainText="$(string.SupportMenu_Explain)" key="Software\Policies\Mozilla\Firefox\SupportMenu" presentation="$(presentation.SupportMenu)" >
+      <parentCategory ref="firefox" />
+      <supportedOn ref="SUPPORTED_FF67" />
+      <elements >
+        <text id="SupportMenuTitle" valueName="Title" required="true" />
+        <text id="SupportMenuURL" valueName="URL" required="true" />
+        <text id="SupportMenuAccessKey" valueName="AccessKey" />
+      </elements>
+    </policy>
   </policies>
 </policyDefinitions>
 
   </policies>
 </policyDefinitions>
 

patrick-canterino.de