brave / brave-browser

Brave browser for Android, iOS, Linux, macOS, Windows.
https://brave.com
Mozilla Public License 2.0
17.96k stars 2.35k forks source link

Many group policies are broken and dont carry over in Brave settings #40133

Open Martin-K24 opened 3 months ago

Martin-K24 commented 3 months ago

Description

Many group policies are broken and dont carry over in Brave despite them being valid in brave://policy/

For example these two do not work on Brave (there are many others):

I also tried disabling Hangouts with a group policy before and after the latest updates that disabled hangouts.

Steps to reproduce

  1. Create group policy like documented Brave Group-Policy
{
    "EnableMediaRouter": false,
    "ClearBrowsingDataOnExitList": [
      "browsing_history",
      "download_history",
      "cookies_and_other_site_data",
      "cached_images_and_files",
      "password_signin",
      "autofill",
      "site_settings",
      "hosted_app_data"
  ]
}
  1. Check that brave://policy/ shows them as valid and then go to see that nothing is check for clearing browsing data on exit * in settings.
  2. Delete group policy and make a new one to see if Google Hangouts can be locked as disabled in brave://settings/extensions
{
    "WebRtcEventLogCollectionAllowed": false,
    "WebRtcTextLogCollectionAllowed": false,
    "ExtensionInstallBlocklist": [
      "nkeimhogjdpnpccoofpliimaahmaaome"
  ]
}

Actual result

Nothing is selected when I go to brave://settings under privacy to check that clear browing data is set by the policy ClearBrowsingDataOnExitList

Slider for disabling chrome cast is not toggled when EnableMediaRouter = false

No way to lock the slider for disabling Hangouts in brave://settings/extensions with a group policy rule?

Expected result

For valid chrome group policies listed to be reconized by brave browser.

Reproduces how often

Easily reproduced

Brave version (brave://version info)

v1.68.131

Channel information

Reproducibility

Miscellaneous information

Linux: Debian 12

rebron commented 3 months ago

cc: @bsclifton