Organizer flag feed: show anomaly flags to organizers
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- python
- Domain
- api, authorization, backend
Research direction
Start by reading #40 and #125, since this operation builds on the existing admin flag view and its dependencies. Identify how flags are currently stored and queried, then map the auth=account_auth operation path for verified Organizers and the settings-driven window for player flags. The work is done when the listed tests cover Organizer scope, refusal for unverified Organizers, privacy-safe item fields, and read-only behavior, and when the schema, docs and ADR state that a flag is a signal rather than a finding.
Written by the indexing model from the issue text.
Description
Context: OPEN detects suspicious patterns automatically and flags them, but never applies an automatic penalty (#206, #207, #175, #51, #123, #209). False positives are certain, and a penalty needs an appeals process OPEN does not have yet. Under ADR 0034, Organizers are the audience for these flags, not moderators: they decide who plays in which division, and they can act on a flag at their own Events. OPEN provides the data; the organizer decides.
Tasks:
- An operation, with
auth=account_auth, for members of a verified Organizer that lists the open flags relevant to that Organizer:- match flags on Matches in its Events or its Clubs
- player flags (#175, #51, #123, #209) for Players who played a counted Match in one of its Events within a window from settings
- Each item has the flag's reason, the rule that fired, when it was raised, and the OPEN Codes of the Match or Player. Player flags computed from a Replay also carry its as-of date and config fingerprint. Never a row id
- Privacy: never reveal another player's identity or claim (a #123 flag says only that the player's external ID is under review), and leave out Players whose Account is inactive. Decide and record how players aged 13 to 17 appear
- The schema and docs say that a flag is a signal, not a finding: it carries no penalty and the player has not been judged
- An ADR recording which flags organizers see and why
- Tests, including an Organizer that cannot see a flag on another Organizer's Event or player
Acceptance criteria:
- A member of a verified Organizer sees flags for its own Events, Clubs, and their players, and nothing else
- A member of an unverified Organizer, and any other Account, is refused
- No item exposes another player's identity or a row id
- Reading flags changes nothing: no Rating, Match, or Player state
Depends on: #125
Related: #206, #207, #175, #51, #123, #209
Size: M
- Dominant language
- Python
- Stars
- 0
- Forks
- 1
- Avg merge
- 1h 7m
- Merged PRs (30d)
- 206
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from openpickleball/backend
-
area:infra documentation priority:p2 size:S
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
openpickleball/backend#472 ·
Maintainers usually reply within 1 day
-
Show doctl's error when the Deploy workflow's update failsPossibly taken @GeoBradDev claimed this today. Openarea:infra bug priority:p2 size:S
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
openpickleball/backend#471 ·
Maintainers usually reply within 1 day
-
area:infra documentation type:chore
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
openpickleball/backend#196 ·
Maintainers usually reply within 1 day
-
area:infra type:chore
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
openpickleball/backend#195 ·
Maintainers usually reply within 1 day
-
area:api enhancement
Difficulty 4/5 3-5 days Newbie friendliness 45/100
openpickleball/backend#470 ·
Maintainers usually reply within 1 day
All issues in openpickleball/backend
Similar issues
-
bug(operator): VolterraOperator built inside jax.jit with a concrete decay raises TracerBoolConversionErrorPossibly taken @jejjohnson claimed this today. Opentype:bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
jejjohnson/integrix#144 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
finos/ai-governance-framework#459 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
autowarefoundation/autoware_carla_scenario#2963 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
freelawproject/litigant-portal#1307 ·
Maintainers usually reply within 2 days
-
type/bug
Difficulty 1/5 Under an hour Newbie friendliness 86/100
h2oai/h2o-llmstudio#1163 ·
Maintainers usually reply within 1 day