Single source of truth for policy capabilities
Categories
(Firefox Enterprise :: General, task)
Tracking
(Not tracked)
People
(Reporter: gcp, Unassigned)
References
(Blocks 3 open bugs)
Details
Attachments
(1 file)
Different Firefox versions might support different policies, and might support different configuration options within those policies, and be or not be able to support un-setting the policy or changing it live (without restarting). We want a single source of truth for these capabilities that the console can pull from to display the proper UI.
| Reporter | ||
Comment 1•4 months ago
|
||
This can also include whether the policy is relevant to Firefox for Enterprise (e.g. Firefox Accounts settings).
| Reporter | ||
Updated•2 months ago
|
| Reporter | ||
Comment 2•2 months ago
|
||
Note: https://github.com/mozilla-firefox/firefox/commit/983c21b678c9b8d2c45b048deb899d5f237efab2
But: https://github.com/mozilla/policy-templates/issues/135 wasn't entirely followed up on.
| Reporter | ||
Updated•2 months ago
|
Comment 3•2 months ago
|
||
I have the impression we are converging on having this in data in https://github.com/mozilla-firefox/firefox/blob/main/browser/components/enterprisepolicies/schemas/policies-schema.json
But containing additional members, like:
{
"DisableTelemetry": {
"description": "Disables the collection and submission of telemetry data.",
"requires_restart": true,
"compatibility": {
"firefox": {
"version_added": "50"
},
"firefox_esr": {
"version_added": "50"
},
"firefox_enterprise": {
"version_added": "70"
}
}
}
}
For validation, it may look like this example I was roughly drafting: https://github.com/bsmth/policy-compat-data/blob/main/data/policy-compat-data.schema.json
Historical context:
- Version support info removed in https://github.com/mozilla-firefox/firefox/commit/983c21b678c9b8d2c45b048deb899d5f237efab2
- Descriptions moved out into ftl files for translations https://github.com/mozilla-firefox/firefox/commit/4bc09a8e18cd3a797cd5f96fa14ba40ec4dba987
Comment 4•3 days ago
|
||
Comment 5•3 days ago
|
||
I'm proposing a linter in https://github.com/mozilla/enterprise-firefox/pull/910 to enforce the current shape of policies-schema.json.
Description
•