Let players hide their current ratings and approve each event

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

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
20/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Active
Tech stack
python

Research direction

Start with ADR 0031 and _refuse_rating_visibility in apps/players/services.py to understand the current privacy rule. The issue is a proposal for later consideration, with unresolved questions about approval scope, withdrawal, minors, partner apps, and related records. If accepted, work would span backend enforcement, a personal data inventory, frontend flows, and the Privacy Policy; done would require decisions on those questions and updates across those areas.

Written by the indexing model from the issue text.

Description

area:players area:ratings enhancement needs-decision

Suggestion

Let every player choose not to show their current ratings publicly. When a player wants to join an event, they would give explicit approval for that event to see their rating.

This is a suggestion to decide later. Nothing changes until it is accepted.

What happens today

  • PlayerPrivacy.rating_visibility covers current ratings (ADR 0031). Adults can't set it to "only you". Only a player aged 13 to 17 keeps it at "only you", and they can't widen it before 18 (_refuse_rating_visibility in apps/players/services.py).
  • So an adult's current ratings are always visible to every signed-in player.

Why consider it

  • Some players may not want their level visible to everyone, but still need it shared to enter a rated event or division.
  • An explicit approval per event gives the player control and records who was allowed to see the rating, and when.

Questions to decide

  1. Does hiding current ratings conflict with the standard's goal of being trusted and easy to adopt? For example, partners and organizers rely on looking up a rating.
  2. What does an approval cover: one event, one organizer, or a time window? Can the player withdraw it, and what happens to a draw already made?
  3. What do other players see when a rating is hidden: nothing, "Private", or the match history without the number?
  4. How does it interact with the rating history, stats, partner and head-to-head records, and the rating history links to matches, which already follow their own settings?
  5. How do partner apps (the partner API) see it? Do they need the same approval?
  6. Does the minor rule stay as it is (hidden until 18, then the player decides)?

Work if accepted

  • Backend: an ADR amending ADR 0031, the setting change, an approval model per event or organizer with Audit Events, and enforcement in every endpoint that returns a current rating (hard rule: the backend enforces privacy).
  • Personal data inventory: update PlayerPrivacy and the new approval record.
  • Frontend: the Profile > Privacy switch, the approval step when joining an event, and how a hidden rating looks on another player's profile.
  • Privacy Policy on openpb.org: the "Who can see what" and "Your choices" sections.
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.