]> git.p6c8.net - policy-templates.git/commitdiff
Add allowed_types example - Fixes #505
authorMichael Kaply <345868+mkaply@users.noreply.github.com>
Mon, 16 Dec 2019 21:55:22 +0000 (15:55 -0600)
committerMichael Kaply <345868+mkaply@users.noreply.github.com>
Mon, 16 Dec 2019 21:55:22 +0000 (15:55 -0600)
README.md

index 83c29edfc91b583bca04b744adf164d26f5091b5..8c420f912c0adad6216ed72681af254e29ff0c67 100644 (file)
--- a/README.md
+++ b/README.md
@@ -1428,7 +1428,8 @@ Software\Policies\Mozilla\Firefox\ExtensionSettings (REG_MULTI_SZ) =
   "*": {
     "blocked_install_message": "Custom error message.",
     "install_sources": ["https://addons.mozilla.org/"],
-    "installation_mode": "blocked"
+    "installation_mode": "blocked",
+    "allowed_types": ["extension"]
   },
   "uBlock0@raymondhill.net": {
     "installation_mode": "force_installed",
@@ -1451,6 +1452,10 @@ Software\Policies\Mozilla\Firefox\ExtensionSettings (REG_MULTI_SZ) =
       </array>
       <key>installation_mode</key>
       <string>blocked</string>
+      <key>allowed_types</key>
+      <array>
+        <string>extension</string>
+      </array>
     </dict>
     <key>uBlock0@raymondhill.net</key>
     <dict>
@@ -1470,7 +1475,8 @@ Software\Policies\Mozilla\Firefox\ExtensionSettings (REG_MULTI_SZ) =
       "*": {
         "blocked_install_message": "Custom error message.",
         "install_sources": ["https://addons.mozilla.org/"],
-        "installation_mode": "blocked"
+        "installation_mode": "blocked",
+        "allowed_types": ["extension"]
       },
       "uBlock0@raymondhill.net": {
         "installation_mode": "force_installed",

patrick-canterino.de