Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide Windows Group Policy templates for Brave #26501

Closed
mherrmann opened this issue Nov 3, 2022 · 1 comment · Fixed by brave/brave-core#15440
Closed

Provide Windows Group Policy templates for Brave #26501

mherrmann opened this issue Nov 3, 2022 · 1 comment · Fixed by brave/brave-core#15440
Assignees

Comments

@mherrmann
Copy link

In the documentation for Group Policies, we advise administrators to download Chrome's templates and modify them by hand for Brave's registry paths. The goal of this issue is to provide our own set of templates so the modification by hand is not necessary.

@MadhaviSeelam
Copy link

MadhaviSeelam commented Dec 12, 2022

Verification PASSED using

Brave | 1.47.121 Chromium: 108.0.5359.99 (Official Build) beta (64-bit)
-- | --
Revision | 410951fc34bb4b2cbf182231f9f779efaafaf682-refs/branch-heads/5359_71@{#9}
OS | Windows 11 Version 21H2 (Build 22000.1219)

Case 1: Add Windows Group policy templates via policy_templates.zip - PASSED

  1. Install 1.47.121
  2. launch Brave
  3. open https://github.com/brave/brave-browser/releases/tag/v1.47.125
  4. click to download `policy_templates.zip file
  5. extract policy_templates.zip
  6. open Local Group Policy editor (Windows>>Run>>enter gpedit.msc>>OK)
  7. right click Administrative Templates under Computer Configuration
  8. clicked Add/Remove templates
  9. clicked Add
  10. go to Downloads > policy_templates > windows > adm > en-US > braveadm > open
  11. click close on Administrative Templates dialog
  12. click Local Group Policy Editor >> Administrative Templates
  13. expand `Classic Administrative Templates (ADM) >>Brave >> Brave
  14. Content Settings>>Block cookies on these sites shows Not Configured

Confirmed Group policy templates are added

step 3 step 5 step 7-8 step 9 step10 step 11 step 14
image image image image image image image

Case 2: Modify a setting in Brave content settings via Local Group Policy editor - PASSED

  1. continue from case 1
  2. click Content Settings>>Block cookies on these sites
  3. select Enabled
  4. click Show
  5. add a value (eg. cnn.com)
  6. click OK
  7. click Apply >> OK
  8. Block cookies on these sites show Enabled
  9. open brave://policy
  10. confirmed policy name shows CookiesBlockedForURLs and policy value shows cnn.com
  11. open brave://settings/cookies in a new-tab
  12. confirmed cnn.com entry shows in Sites that can never use cookies
step 1 step 2-7 step 8 step 10 step 11-12
image image image image image

Case 3: Remove the setting in Brave content settings via Local Group Policy editor - PASSED

  1. continue from Case 1
    • brave://policy shows Policy name `cnn.com
    • brave://settings/cookies cnn.com shows in Sites that can never use cookies entry
  2. go to open Local Group Policy editor (Windows>>Run>>enter gpedit.msc>>OK)
  3. go to Administrative Templates>>Classic Administrative Templates (ADM) >>Brave >> Brave
  4. click Block cookies on these sites
  5. click Disabled
  6. click Apply >> OK
  7. Block cookies on these sites shows disabled
  8. go to brave://policy
  9. Policy name cnn.com was removed
  10. go to brave://settings/cookies
  11. refresh the page
  12. confirmed cnn.com entry shows in Sites that can never use cookies
step 1a step 1b step 3-6 step 7 step 8-9 step10-11
image image image image image image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants