Bug: fetching all roles for super-user times out

Aperta
#879 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@oharsta ci sta già lavorando.

Dal 26/11/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

Fetching all roles for a super user, for the drop-down in new invitation, times out. For all roles from the database, data from manage is added. This causes the time-out.

The drop-down does not need all of this information. Write a new endpoint in RoleController with the same security check, that fetches id, name and description from the database. Refactor InvitationForm.jsx, to use this new endpoint and populate the drop-down of roles.

The applicationMaps are used in the inviter variant of the InvitationForm.jsx. So if the user is inviter, use the old code branch. Check for the use of the roles in InvitationForm.jsx, to see where the applicationMaps are also used.

Lingua principale
Java
Stelle
6
Fork
8
Merge medio
8h 1m
PR unite (30g)
13

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Nessun 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 OpenConext/OpenConext-Invite

Tutte le issue di OpenConext/OpenConext-Invite

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.