[BUG]: User emails are visible to any logged-in user

Aperta
#807 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@krish858 ci sta già lavorando.

Dal 20/11/2026.

  • #809 di @krish858 — aperta

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
57/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
typescript

Direzione di ricerca

Start by locating the handlers for GET /teams/available and GET /teams/:id, then check their response shapes and access checks. Reproduce the requests with an authenticated user who is not on the team. Done means unauthorized users cannot retrieve team member emails or private team details, while permitted team discovery still works.

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

Descrizione

bug
Bug Description

GET /teams/available returns every team that still has an open slot, with info like , team id , joining code, users(in that team),emails(of the users in the teams).

GET /teams/:id also returns whole info to any authenticated user.

Steps to Reproduce

1 Go to http://localhost:5173/team-builder in the network tab you can see the request available which is a get req to /teams/available with all the info about the current teams or can do a get request in post man.

2 if you have team id, you can just make a get req on /teams/:id it will again give you all info on that team without being on the team.

Logs and Screenshots
image image
Environment Details

No response

Impact

Medium - Feature works but has issues

Code of Conduct
  • I have joined the Discord server and will post updates there
  • I have searched existing issues to avoid duplicates
Lingua principale
TypeScript
Stelle
108
Fork
264
Merge medio
6h 53m
PR unite (30g)
8

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 AOSSIE-Org/DebateAI

Tutte le issue di AOSSIE-Org/DebateAI

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.