From: Michael Kaply <345868+mkaply@users.noreply.github.com>
Date: Mon, 16 Nov 2020 20:45:30 +0000 (-0600)
Subject: Add code examples
X-Git-Tag: v2.5~1^2~1
X-Git-Url: https://git.p6c8.net/policy-templates.git/commitdiff_plain/a9dd862b7d7b17300ec62191ec73f2558fc7bcca?ds=inline
Add code examples
---
diff --git a/README.md b/README.md
index 1ef0af0..9f6504f 100644
--- a/README.md
+++ b/README.md
@@ -62,6 +62,7 @@ Policies can be specified using the [Group Policy templates on Windows](https://
| **[`InstallAddonsPermission`](#installaddonspermission)** | Configure the default extension install policy as well as origins for extension installs are allowed.
| **[`LegacyProfiles`](#legacyprofiles)** | Disable the feature enforcing a separate profile for each installation.
| **[`LocalFileLinks`](#localfilelinks)** | Enable linking to local files by origin.
+| **[`ManagedBookmarks`](#managedbookmarks)** | Configures a list of bookmarks managed by an administrator that cannot be changed by the user.
| **[`PrimaryPassword`](#primarypassword)** | Require or prevent using a primary (formerly master) password.
| **[`NetworkPrediction`](#networkprediction)** | Enable or disable network prediction (DNS prefetching).
| **[`NewTabPage`](#newtabpage)** | Enable or disable the New Tab page.
@@ -2991,6 +2992,136 @@ Value (string):
}
}
```
+### ManagedBookmarks
+Configures a list of bookmarks managed by an administrator that cannot be changed by the user.
+
+**Compatibility:** Firefox 83, Firefox ESR 78.5\
+**CCK2 Equivalent:** N/A\
+**Preferences Affected:** N/A
+
+#### Windows (GPO)
+```
+Software\Policies\Mozilla\Firefox\ManagedBookmarks (REG_MULTI_SZ) =
+[
+ {
+ "toplevel_name": "My managed bookmarks folder"
+ },
+ {
+ "url": "example.com",
+ "name": "Example"
+ },
+ {
+ "name": "Mozilla links",
+ "children": [
+ {
+ "url": "https://mozilla.org",
+ "name": "Mozilla.org"
+ },
+ {
+ "url": "https://support.mozilla.org/",
+ "name": "SUMO"
+ }
+ ]
+ }
+]
+```
+#### Windows (Intune)
+OMA-URI:
+```
+./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/ManagedBookmarks
+```
+Value (string):
+```
+
+
+```
+#### macOS
+```
+
+ ManagedBookmarks
+
+
+ toplevel_name
+ My managed bookmarks folder
+
+ url
+ example.com
+ name
+ Example
+
+
+ name
+ Mozilla links
+ children
+
+
+ url
+ https://mozilla.org
+ name
+ Mozilla
+
+
+ url
+ https://support.mozilla.org/
+ name
+ SUMO
+
+
+
+
+
+```
+#### policies.json
+```
+{
+ "policies": {
+ "ManagedBookmarks": [
+ {
+ "toplevel_name": "My managed bookmarks folder"
+ },
+ {
+ "url": "example.com",
+ "name": "Example"
+ },
+ {
+ "name": "Mozilla links",
+ "children": [
+ {
+ "url": "https://mozilla.org",
+ "name": "Mozilla.org"
+ },
+ {
+ "url": "https://support.mozilla.org/",
+ "name": "SUMO"
+ }
+ ]
+ }
+ ]
+ }
+}
+```
### PrimaryPassword
Require or prevent using a primary (formerly master) password.