brave-browser icon indicating copy to clipboard operation
brave-browser copied to clipboard

Disallow Rewards from being enabled and show clearer unavailable messaging for users in OFAC list countries

Open Miyayes opened this issue 2 years ago • 1 comments

Description

If OS locale country ∈ OFAC list, then:

  • [ ] Show Rewards unavailable messaging in brave://rewards settings page
  • [ ] Hide the Rewards NTP widget
  • [ ] Disable in-line tipping buttons
  • [ ] Hide BAT icon in the URL bar

For existing users, pause any Rewards services while OS region country ∈ OFAC list.

Designs: https://www.figma.com/file/ag8i1OV5vpvn4SiOhW2c0f/Github-fixes?node-id=1853%3A34996

Learn more link goes to: https://support.brave.com/hc/en-us/articles/9053832354957

Miyayes avatar Sep 08 '22 02:09 Miyayes

cc: @tmancey for the common shared code where this list will live.

Miyayes avatar Sep 19 '22 12:09 Miyayes

Unavailable list will come from: https://github.com/brave/brave-browser/issues/25633

Miyayes avatar Oct 06 '22 20:10 Miyayes

@Miyayes @mkarolin

Looks like a test plan is needed, labelling as QA/Blocked until this is sorted.

cc @kjozwiak @rebron

LaurenWags avatar Dec 02 '22 13:12 LaurenWags

Per discussion with @Miyayes test plan is under https://github.com/brave/internal/issues/981, verification notes should be added there as well.

cc @brave/qa-team

LaurenWags avatar Dec 08 '22 18:12 LaurenWags

Verification PASSED on

Brave | 1.47.161 Chromium: 109.0.5414.61 (Official Build) beta (64-bit)
-- | --
Revision | 846c6eff1c374cde417a9cdc44193545cc07f354-refs/branch-heads/5414@{#1030}
OS | Windows 10 Version 21H2 (Build 19044.2364)

Verification notes can be viewed under https://github.com/brave/internal/issues/981#issuecomment-1369867279.

GeetaSarvadnya avatar Jan 05 '23 02:01 GeetaSarvadnya