Skip to content

PSF membership subsystem should add basic sanity checks #607

Open
@malemburg

Description

@malemburg

The membership database has useless entries such as this one:

https://www.python.org/admin/users/membership/2625/

Legal name: 1111111

We are also getting entries such as this one:

https://www.python.org/admin/users/membership/2522/

Legal name: LinuxWorld Informatics Pvt Ltd

for legal entities, which is not really what we'd expect as basic membership.

As well as spam such as this one:

https://www.python.org/admin/users/membership/2413/

Legal name: Sample Wedding Speeches

I think we should add at least some basic mechanism to prevent creating a PSF basic membership entry with such data, e.g. the name should not include numbers for example, not include legal entity abbreviations such as "ltd" or "corp" and pass a spam filter or at least a stop word filter such as the one used on the python.org wikis.

Metadata

Metadata

Assignees

No one assigned

    Labels

    app/psf-membershipRelates to the membership appapp/usersRelates to the users apppsf-reviewThis should be reviewed by a PSF employee/member

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions