[Task]: Allow for different enforcement actions based on version status

Aperta
#16,520 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
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Ambito
backend

Direzione di ricerca

The issue does not name implementation files or tests. Start by tracing how reviewer policy decisions select enforcement actions for pending and public versions, then identify where version status is available in that flow. Done means one decision can trigger different actions for each version status, including multiple actions where needed.

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

Descrizione

Description

With changes we made earlier this year, e.g. to retroactive reviews, actioning a public version would be different from actioning pending versions for many policies.

As an example, a reviewer selecting policy violation X might result in:

  • The pending versions being rejected immediately.
  • The public versions being rejected with a delay.

The distinction for public vs pending versions for actions is needed to accommodate appropriate enforcement, balancing safety and developer friction and meeting requirements from initiatives like the ones mentioned above.

This feature is needed in order to enable the policy selections-only work in the reviewer tools, which in turn was made a dependency on re-enabling content-review.

Acceptance Criteria
  • Enforcement actions take into account versions status and one decision can take different and multiple actions depending on the version status.

┆Issue is synchronized with this Jira Task

Lingua principale
Makefile
Stelle
135
Fork
52
Merge medio
6g 18h
PR unite (30g)
7

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

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 mozilla/addons

Tutte le issue di mozilla/addons

Issue simili

Altre issue su Backend & API Design

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.