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

Change the directory path of admin policy on linux #12426

Closed
yrliou opened this issue Oct 30, 2020 · 1 comment · Fixed by brave/brave-core#7277 or brave/brave-core#7287
Closed

Change the directory path of admin policy on linux #12426

yrliou opened this issue Oct 30, 2020 · 1 comment · Fixed by brave/brave-core#7277 or brave/brave-core#7287

Comments

@yrliou
Copy link
Member

yrliou commented Oct 30, 2020

Brought up by @simonhong in reviewing brave/brave-core#6966.
We currently are using /etc/chromium/policies/managed which is the default for chromium projects, we probably should change this to /etc/brave/policies/managed

STR:

  1. Create /etc/brave/policies/managed directory
  2. Create file (/etc/brave/policies/managed/00_tor.json) with below content.
{
	"TorDisabled": true
}
  1. Launch browser and check tor is disabled
  2. Delete /etc/brave/policies/managed directory
  3. Create /etc/chromium/policies/managed directory
  4. Create file (/etc/chromium/policies/managed/00_tor.json) with below content.
{
	"TorDisabled": false
}
  1. Re-launch browser and check tor is enabled
@btlechowski
Copy link

Verification passed on

Brave 1.19.66 Chromium: 87.0.4280.101 (Official Build) dev (64-bit)
Revision 9407c80213cda69c2b7abcb4fa8e3f74488f4956-refs/branch-heads/4280@{#1807}
OS Ubuntu 18.04 LTS

Verified test plan from the description

Verified when "TorDisabled": true in /etc/brave/policies/managed, Tor is disabled
Verified Brave is `Managed by your organization
image

Verified when "TorDisabled": false in /etc/brave/policies/managed, Tor is enabled
Verified Brave is `Managed by your organization
image

Verified that /etc/chromium/policies/managed has no effect on Brave.
image

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