Flag duplicate self-reported external player IDs for organizers

Open
#123 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
python
Domain
backend

Research direction

Start by reading the implementation and tests for external player IDs, then check the work tracked in #40 and #49 because this issue depends on both. Identify where seeds are stored and where the moderator admin displays review flags. Done means duplicate IDs flag both seeds for moderators, neither player can see the flag or learn who else claimed the ID, and tests use fake IDs.

Written by the indexing model from the issue text.

Description

area:ratings area:security priority:p2 size:S type:feature

Context: Split from #49. Two players may enter the same external player ID. That can be a typo or a false claim, so moderators review it without telling either player about the other.

Tasks:

  • When two players enter the same external player ID, keep both seeds and flag both for moderator review (#40)
  • Show the flags in the moderator admin (#40) and the organizer flag feed (#213), which says only that the player's external ID is under review
  • Never reveal to one player that another claimed the ID
  • Tests with fake IDs

Acceptance criteria:

  • A duplicate external player ID is flagged for moderators
  • The flag is not visible to either player

Depends on: #40, #49

Size: S

Dominant language
Python
Stars
0
Forks
1
Avg merge
1h 7m
Merged PRs (30d)
206

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from openpickleball/backend

All issues in openpickleball/backend

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.