Sync policy should only change Sync state if Locked=true
Categories
(Firefox Enterprise :: Client, task)
Tracking
(Not tracked)
People
(Reporter: janika, Assigned: janika)
References
(Blocks 1 open bug)
Details
(Whiteboard: [size=1])
Attachments
(3 files)
The current Sync policy implementation overrides the current sync state (enabled/disabled) to the value of Enabled if Locked is set to false or to undefined. But it should only do so when Locked is set to true.
The general behavior across policies is that when Locked=false we will not override user preferences instead we will change only the default values.
| Assignee | ||
Updated•2 months ago
|
Comment 1•2 months ago
|
||
Comment 2•2 months ago
|
||
Authored by https://github.com/1rneh
https://github.com/mozilla/enterprise-firefox/commit/ec2f06b6f1575d88a426e5ad5f00df7894d34af6
[enterprise-main] Bug 2023267 - Only adapt current sync state when Locked=true
| Assignee | ||
Comment 3•2 months ago
|
||
Once we have a default preference for Sync (Bug 2017719), Enabled=X and Locked=false or Locked=undefined will set sync's default state to X.
| Assignee | ||
Updated•2 months ago
|
Comment 4•1 month ago
|
||
Verified on 150.0a1 (Build ID: 20260319195842) with macOS Tahoe 26.3 in the following use cases:
Policy Enabled= false , Locked = false
User pref =Sync ON
- user can enable sync / turn on disabled prefs (bookmarks) and the user preference is saved and overrides sync policy through restart or signout+sign in
User pref= Sync OFF
Policy Enabled = true, Locked = false
- user disables sync but policy sets it to Enabled=true + Locked = false and the user preference is saved after restart or signout+sign in
User pref= Sync OFF
Policy Enabled = true, Locked = true
- policy overrides user when Locked = true and sync remains ON trhough restart and or signout+sign in
Updated•1 month ago
|
Comment 5•1 month ago
|
||
Description
•