chromiumembedded / cef

Chromium Embedded Framework (CEF). A simple framework for embedding Chromium-based browsers in other applications.
https://bitbucket.org/chromiumembedded/cef/
Other
3.09k stars 450 forks source link

chrome: Add option to disable/customize enterprise policy #3581

Closed magreenblatt closed 8 months ago

magreenblatt commented 9 months ago

Is your feature request related to a problem? Please describe. With Chrome runtime, applications currently support configuration via Enterprise Policy (platform & OS-user policies) by default. Documentation is here and related code starts here.

Platform & OS-user policies are configured as follows:

Describe the solution you'd like It should be possible to disable enterprise policy enforcement in CEF-based applications since many policies may be inappropriate for embedded use cases.

When platform and/or OS-user policies are enabled, it should be possible to customize the associated storage identifier (bundle ID, registry key or directory depending on platform). Bundle ID on Mac is already configurable via the app Info.plist file, but it could make sense to use the same ID across multiple related apps (similar to how Chrome hard-codes the "com.google.Chrome" ID).

magreenblatt commented 9 months ago

We only need to worry about the platform & OS-user management mentioned above, because:

magreenblatt commented 8 months ago

When platform and/or OS-user policies are enabled, it should be possible to customize the associated storage identifier (bundle ID, registry key or directory depending on platform).

Note that changing the storage identifier from the default Chromium value would be sufficient to disable platform policies in most cases (because the policy storage location won't exist). However, it still supports the policy capability, which may be against app expectations.