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

[Plan Sharing] Verify revoked-link privacy

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

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
Ambito
security, testing

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

sharing

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

Steps

  1. Revoke the test plan’s link and reload its old URL as signed-out viewer.
  2. Record unavailable response and inspect the successful response allowed list on a separate test link.
  3. 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

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 DevDogsUGA/DogDays

Tutte le issue di DevDogsUGA/DogDays

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.