HomePhabricator
Diffusion Comm d33784ee4943

added reservedusers Set, added check to account-creator

Description

added reservedusers Set, added check to account-creator

Summary:
Created Set<String> of reservedUsernamesSet containing DOAs, TLDs, and reserved words. Exported Set to account-creator.

Added check to account-creator.js that compares newuser query against reservedUsernamesSet.

https://linear.app/comm/issue/COM-88/reserved-usernames-blocklist

**Updated reservedUsernamesSet with 3 comments denoting the source of the lists. (DAO aggregate, Github reservedusernames, TLD list). Included links as comments

**Updated DAO list in reservedUsernamesSet to be alphabetized

Test Plan:
Tested valid usernames (not in reservedusers)
Tested reserved usernames
Lowercase
Mismatched Case
Uppercase

Reviewers: atul, benschac, ashoat

Reviewed By: benschac, ashoat

Subscribers: ashoat, palys-swm, Adrian, atul, karol-bisztyga, benschac, boristopalov

Differential Revision: https://phabricator.ashoat.com/D2344

Details

Provenance
anandAuthored on Nov 16 2021, 7:21 AM
Reviewer
benschac
Differential Revision
Restricted Differential Revision
Parents
rCOMM00433218e06a: change tab name from home --> focused
Branches
Unknown
Tags
Unknown