Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Expose Reddit account lock status to Devvit apps

Aperta
#274 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
38/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
typescript
Ambito
api

Direzione di ricerca

Start with the proposed User interface and the Reddit user payload described in the issue. Determine how Devvit apps currently receive user data and where account state could be exposed. Done means apps can distinguish active, locked, and suspended accounts when Reddit supplies that status, supporting the Bot Bouncer workflow.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Summary

Expose Reddit account lock status to Devvit apps so moderation apps can distinguish accounts that are temporarily locked by Reddit as a security precaution from active accounts when that information is available in Reddit's user payload.

Motivation

Bot Bouncer processes a large volume of ban appeals. A significant number involve accounts that Reddit has temporarily locked after detecting suspicious activity.

Today, moderators must manually open each profile on sh.reddit to determine whether an account is currently security locked. This does not scale well when reviewing hundreds or thousands of appeals.

If Devvit exposed this state, moderation apps could:

  • Automatically identify appeals from accounts that are currently security locked.
  • Periodically recheck those accounts without moderator intervention.
  • Detect when a previously locked account later becomes active again.
  • Automatically unban accounts that were banned while security locked once they are no longer reported as locked.

Rather than requiring moderators to repeatedly review the same accounts, the app could perform routine background checks and surface only accounts whose status has changed. This would substantially reduce the Bot Bouncer appeal backlog and allow moderators to focus their attention on accounts that may now be eligible for review.

Proposed API (one possible design)

interface User {
  accountStatus?: "active" | "locked" | "suspended";
  isAccountLocked?: boolean;
}

This is one possible API shape. The important capability is allowing apps to distinguish Reddit security locks from active and suspended accounts.

Expected behavior

When Reddit's user payload includes account lock status:

  • isAccountLocked is true for accounts currently locked by Reddit as a security precaution.
  • accountStatus reflects the current account state (active, locked, or suspended).

Apps could compare previously observed state with the current state to determine that a previously locked account has become active again.

The API would not need to determine why an account became active again or verify that it was reclaimed by its original owner—it would simply expose the current account state supplied by Reddit.

Example workflow

For Bot Bouncer, this would enable an automated workflow such as:

  1. A ban appeal is received from an account that is currently security locked.
  2. The appeal is deferred while the account remains locked.
  3. The app periodically rechecks the account.
  4. Once the account is no longer reported as locked, the app automatically places it back into the moderator review queue.

This eliminates repeated manual profile checks and makes it practical to process large numbers of security-locked accounts with minimal moderator effort.

Lingua principale
TypeScript
Stelle
211
Fork
89
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di reddit/devvit

Tutte le issue di reddit/devvit

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.