Page MenuHomePhabricator

Create an allow-list of countries in which push notifications should be used
Closed, ResolvedPublic

Description

As an outcome of the privacy review for push notifications, it was recommended that we limit the usage of the feature to relatively "safe" countries. "Safe" here means the following:

  1. The apps have a user base above a reasonable minimum threshold in size, making it unlikely that a user could be singled out simply by virtue of being an app user;
  2. The country does not have a record of or reputation for aggressive government surveillance of journalists, political dissidents, etc.

This task is for the apps PMs to create the list of countries in which push notifications should be allowed.

Event Timeline

Mholloway added a subscriber: JMinor.

Discussed in the biweekly push notifications sync yesterday and we agreed that for starters we'd use the list already being used in the iOS app to limit user history event logging because of similar concerns. Thanks @JMinor for the suggestion.

The task with the earlier discussion is T192819, and the list consists of the top 50 countries on this spreadsheet; it's currently hard-coded in the iOS app's UserHistoryFunnel class. The list represents specifically the top 50 countries by number of unique iOS app users in the first three months of 2018. (The query was run on a derived table created by Tilman in turn using a query over mobile_apps_uniques documented at T180651#3833399.)

I'll run a couple of quick QC queries and then, barring any glaring issues, add the list to the remote app configuration files provided by MediaWiki-extensions-MobileApp.

Besides leveraging this whitelist of countries, I vaguely remember us talking about a list of countries that we for sure will not implement this functionality in. Although a whitelist is seen as something that implicitly defines the converse, does such a list of suggested countries of exclusion exist as well?

@dcipoletti Yes, we have such a list from Privacy Engineering.

Blocked for now on the apps PMs generating a final list from the uniques data and list of disallowed countries.

LGoto subscribed.

Hi @JMinor can you add the final list?

Just to clarify, I think the next step on this one was for @JMinor to confer with Privacy Eng about the necessity of a minimum user cutoff.

Please see my recent email and the final proposed list from product here:
https://docs.google.com/spreadsheets/d/1oJJjqyCI-Ty9HTKaLxWE2rMBmdCRIMbq6pHGB2B7Ph8/edit#gid=0

To clarify a couple things:

  • We're doing a block list, not a white list. If the user is not requesting from a blocked locale they should get push notifications.
  • The small user base threshold excludes a lot of perfectly safe but small or emerging communities. Rather than adopt the cutoff wholesale, countries that fell below the cutoff were subject to additional scrutiny.

Change 621543 had a related patch set uploaded (by Mholloway; owner: Michael Holloway):
[mediawiki/extensions/MobileApp@master] Add list of countries to exclude from push notifications

https://gerrit.wikimedia.org/r/621543

Change 621543 merged by jenkins-bot:
[mediawiki/extensions/MobileApp@master] Add list of countries to exclude from push notifications

https://gerrit.wikimedia.org/r/621543