Skip to content

Support for multiple policy files? (Linux) #1281

@mfxa

Description

@mfxa

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions