-
Notifications
You must be signed in to change notification settings - Fork 458
Description
Not sure if this feature request belongs here or in another repo?
As I understand it, Firefox currently only supports having a single policy file (in Linux), located here:
/etc/firefox/policies/policies.json
In Chromium one can have any number of policy files:
/etc/chromium/policies/policies-1.json
/etc/chromium/policies/policies-2.json
...
I think the latter is convenient for remotely configuring many machines with varying policies.
Then when adding a new policy, one can just add a new file inside that directory, instead of having to do some complicated sed command to add it inside an existing JSON file, ensuring it remains syntactically valid.
In case the same policy is specified multiple times, there could be a rule of whether the first or the last one applies, and then loading order can be alphabetical, controlled via file naming, e.g. "1-policy-one.json", "2-policy-two.json"
Thoughts?