[Plan Sharing] Verify revoked-link privacy
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 68/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- postgresql, react, supabase, typescript
Direzione di ricerca
Read supabase/schemas/dogdays/tables/userSavedPlans.sql to see how a saved plan stores its share link and owner columns (userId, email, legacyUserId), then follow the patterns in docs/guides/testing.md. Add checks to docs/guides/testing.test.ts: as a signed-out viewer, request a revoked link's old URL and assert it is unavailable, then assert a live link returns only the title, term and crns keys. Done when pnpm test -- docs/guides/testing.test.ts, pnpm lint and pnpm typecheck pass with no owner fields visible; #862 must land first.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
What to build
Check that revoking a shared link removes public access. Record the unavailable response and verify that no owner information or class data remains visible through that link.
Files
- docs/guides/testing.md
- Starting example: supabase/schemas/dogdays/tables/userSavedPlans.sql
Steps
- Revoke the test plan’s link and reload its old URL as signed-out viewer.
- Record unavailable response and inspect the successful response allowed list on a separate test link.
- Evidence must show no userId/email/legacyUserId and no reusable revoked link.
Example
Old link becomes unavailable; allowed response keys are title,term,crns only.
Check it works
In docs/guides/testing.test.ts, check the example above and the failure or limit described in the steps. Run pnpm test -- docs/guides/testing.test.ts, pnpm lint and pnpm typecheck.
Before starting
- #862 — Verify live-link updates
References
Assign yourself before starting, or comment to claim the issue. Project setup.
- Lingua principale
- TypeScript
- Stelle
- 19
- Fork
- 94
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di DevDogsUGA/DogDays
-
map
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
DevDogsUGA/DogDays#868 ·
-
map
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
DevDogsUGA/DogDays#865 ·
-
sharing
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
DevDogsUGA/DogDays#854 ·
-
import-export
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
DevDogsUGA/DogDays#850 ·
-
import-export
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
DevDogsUGA/DogDays#842 ·
Tutte le issue di DevDogsUGA/DogDays
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
aws/agentcore-cli#2606 ·
I maintainer di solito rispondono entro 1 giorno
-
ai-driven-qa bug Cosmetic
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
I maintainer di solito rispondono entro 1 giorno
-
ai-driven-qa bug claude Minor
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
linagora/twake-mail-admin#301 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno
-
reproduced
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
anomalyco/opencode#56038 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno