Dev env: simulate hide and unhide transitions

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

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
42/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
kotlin

Direzione di ricerca

Read docs/threat-model.md, then inspect tools/devenv/mock_connector.py and hub/tests/test_devenv_mock_connector.py to see how sweeps and connector notifications are represented. Check the Android cache purge path and the manual check documented in deploy/dev/README.md. Done means mock hide and unhide notifications exercise the listed visibility, cache, and 404 behaviors, with Android verification documented.

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

Descrizione

backend difficulty: intermediate enhancement help wanted privacy

Context

The mock connector only performs full visibility sweeps. Real connectors also report incremental changes when a
photo is hidden or unhidden on any Apple device, which triggers purging on the hub and the phone. That path is
privacy-critical and should be testable without a Mac.

Acceptance criteria

  • A mock connector command (for example make dev-hide ID=… / dev-unhide, or a timed scenario) sends the same
    change notifications as the real connector.
  • Tests assert that a newly hidden synthetic asset disappears from listings, albums, search and caches, returns
    404, and that unhiding makes it visible again only after the next confirmed sweep, matching the threat model.
  • The Android app purges the cached copy when connected to the dev hub (manual check documented in
    deploy/dev/README.md).
  • No change to the hub's visibility logic is required; if one seems to be, open a separate security issue first.

Pointers

  • tools/devenv/mock_connector.py, docs/threat-model.md, hub/tests/test_devenv_mock_connector.py
Lingua principale
Kotlin
Stelle
0
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

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 ft-dev-org/cloudbridge-oss

Tutte le issue di ft-dev-org/cloudbridge-oss

Issue simili

Altre issue su Kotlin

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.