Add a policy option to disable Brave Wallet #25383
Labels
enterprise
feature/web3/wallet
Integrating Ethereum+ wallet support
OS/Desktop
priority/P3
The next thing for us to work on. It'll ride the trains.
QA Pass-Linux
QA Pass-macOS
QA Pass-Win64
QA/Yes
release-notes/include
Milestone
This is a sub-task for #22029
Test Plan:
(sudo is needed in this step) Go to /etc/brave/policies/managed (create folders if not exists already), create test_policy.json with content:
[Windows]
Open regedit and create the following keys:
BraveSoftware\Brave
under the existing keyHKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Policies
HKEY_LOCAL_MACHINE\SOFTWARE\Policies
Create a DWORD value at this path called
BraveWalletDisabled
and set the value as1
[MacOS]
/Library/Managed Preferences/<username>/
, if one doesn't exist (you will need to usesudo
)com.brave.Browser.<CHANNEL>.plist
(where <CHANNEL> will benightly
,beta
, or nothing for the release channel: e.gcom.brave.Browser.nightly.plist
) with the content:Note: MacOS caches these preferences, so if you delete or rename this file and restart the browser it will still retain this policy. In order to reset the policy quit the browser fully, delete or rename the file and issue to following command:
You should see output similar to:
Start the browser and you should be able to see the Rewards feature again.
This site can’t be reached
error page.Wallet
menu item is not present.Wallet
item is not present in the top Settings toolbarWallet
item is not present in the left navigation menuThe text was updated successfully, but these errors were encountered: