Skip to content

Commit 7669e21

Browse files
bsmth1rneh
andauthored
feat: Add Sync policy (#70)
* feat: Add Sync policy * Apply suggestion from @bsmth * Apply suggestion from @1rneh Co-authored-by: Janika <92304290+1rneh@users.noreply.github.com> * feat: Sync policy revision following reviewer comments --------- Co-authored-by: Janika <92304290+1rneh@users.noreply.github.com>
1 parent 66168e4 commit 7669e21

1 file changed

Lines changed: 117 additions & 0 deletions

File tree

  • src/content/docs/reference/policies
Lines changed: 117 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,117 @@
1+
---
2+
title: "Sync"
3+
description: "Enable or disable sync and define which data to include."
4+
category: "Local data storage"
5+
---
6+
7+
Controls whether [sync](https://www.firefox.com/en-US/features/sync/) should be enabled and which features should be enabled for syncing.
8+
9+
> [!NOTE]
10+
> Currently, this is only implemented in Firefox Enterprise.
11+
12+
**Compatibility:** Firefox Enterprise 150.0.0\
13+
**CCK2 Equivalent:** N/A\
14+
**Preferences Affected:** N/A
15+
16+
## Values
17+
18+
- `Addons`: A Boolean. Controls whether syncing addons should be enabled.
19+
- `Addresses`: A Boolean. Controls whether syncing addresses should be enabled.
20+
- `Bookmarks`: A Boolean. Controls whether syncing bookmarks should be enabled.
21+
- `Enabled`: A Boolean. Controls whether sync itself should be enabled.
22+
- `History`: A Boolean. Controls whether syncing history should be enabled.
23+
- `Locked`: A Boolean. Controls whether to lock the customized sync settings.
24+
- `OpenTabs`: A Boolean. Controls whether syncing open tabs should be enabled.
25+
- `Passwords`: A Boolean. Controls whether syncing passwords should be enabled.
26+
- `PaymentMethods`: A Boolean. Controls whether syncing payment methods should be enabled.
27+
- `Settings`: A Boolean. Controls whether syncing settings should be enabled.
28+
29+
## Windows (GPO)
30+
31+
```
32+
Software\Policies\Mozilla\Firefox\Sync\Addons = 0x1 | 0x0
33+
Software\Policies\Mozilla\Firefox\Sync\Addresses = 0x1 | 0x0
34+
Software\Policies\Mozilla\Firefox\Sync\Bookmarks = 0x1 | 0x0
35+
Software\Policies\Mozilla\Firefox\Sync\Enabled = 0x1 | 0x0
36+
Software\Policies\Mozilla\Firefox\Sync\History = 0x1 | 0x0
37+
Software\Policies\Mozilla\Firefox\Sync\Locked = 0x1 | 0x0
38+
Software\Policies\Mozilla\Firefox\Sync\OpenTabs = 0x1 | 0x0
39+
Software\Policies\Mozilla\Firefox\Sync\Passwords = 0x1 | 0x0
40+
Software\Policies\Mozilla\Firefox\Sync\PaymentMethods = 0x1 | 0x0
41+
Software\Policies\Mozilla\Firefox\Sync\Settings = 0x1 | 0x0
42+
```
43+
44+
## Windows (Intune)
45+
46+
OMA-URI:
47+
48+
```url
49+
./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/Sync
50+
```
51+
52+
Value (string):
53+
54+
```xml
55+
<enabled/> or <disabled/>
56+
<data id="Addons" value="true | false"/>
57+
<data id="Addresses" value="true | false"/>
58+
<data id="Bookmarks" value="true | false"/>
59+
<data id="Enabled" value="true | false"/>
60+
<data id="History" value="true | false"/>
61+
<data id="Locked" value="true | false"/>
62+
<data id="OpenTabs" value="true | false"/>
63+
<data id="Passwords" value="true | false"/>
64+
<data id="PaymentMethods" value="true | false"/>
65+
<data id="Settings" value="true | false"/>
66+
```
67+
68+
## macOS
69+
70+
```xml
71+
<dict>
72+
<key>Sync</key>
73+
<dict>
74+
<key>Addons</key>
75+
<true/> | <false/>
76+
<key>Addresses</key>
77+
<true/> | <false/>
78+
<key>Bookmarks</key>
79+
<true/> | <false/>
80+
<key>Enabled</key>
81+
<true/> | <false/>
82+
<key>History</key>
83+
<true/> | <false/>
84+
<key>Locked</key>
85+
<true/> | <false/>
86+
<key>OpenTabs</key>
87+
<true/> | <false/>
88+
<key>Passwords</key>
89+
<true/> | <false/>
90+
<key>PaymentMethods</key>
91+
<true/> | <false/>
92+
<key>Settings</key>
93+
<true/> | <false/>
94+
</dict>
95+
</dict>
96+
```
97+
98+
## policies.json
99+
100+
```json
101+
{
102+
"policies": {
103+
"Sync": {
104+
"Addons": true | false,
105+
"Addresses": true | false,
106+
"Bookmarks": true | false,
107+
"Enabled": true | false,
108+
"History": true | false,
109+
"Locked": true | false,
110+
"OpenTabs": true | false,
111+
"Passwords": true | false,
112+
"PaymentMethods": true | false,
113+
"Settings": true | false
114+
}
115+
}
116+
}
117+
```

0 commit comments

Comments
 (0)