Closed qupig closed 6 months ago
The page still doesn't describe its relationship to the original browser.storage.managed
's Manifest
files.
Does one override the other completely? Or does one only overwrite the same data keys as the other? And who overwrites who?
I.e., does the enterprise-policy-3rdparty override the following files? If true, how is it override?
Windows:
HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\ManagedStorage\<name>
HKEY_CURRENT_USER\SOFTWARE\Mozilla\ManagedStorage\<name>
macOS:
/Library/Application Support/Mozilla/ManagedStorage/<name>.json
~/Library/Application Support/Mozilla/ManagedStorage/<name>.json
Linux:
/usr/lib/mozilla/managed-storage/<name>.json
/usr/lib64/mozilla/managed-storage/<name>.json
~/.mozilla/managed-storage/<name>.json
We're actually planning to deprecate those completely.
They only exist because we didn't originally have enterprise policy.
But the answer is that 3rdparty is read first and if found, it is used unstead of the .json.
Good to know, thanks for the reply. It would be good to add this note to the documentation as well.
https://github.com/mozilla/policy-templates/blob/e6c67d8234573afdd95831b2f260421ca64ac8d8/docs/index.md?plain=1#L130
https://extensionworkshop.com/documentation/enterprise/adding-policy-support-to-your-extension/