Misleading disabled tooltip on change role button

Aperta
#2,963 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@charliepark ci sta già lavorando.

Dal 25/6/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

Just noticed this really bad message on project access when the role comes from the silo.

https://github.com/oxidecomputer/console/blob/ab76183153337c509bcde7007184cc655c43df71/app/pages/project/access/ProjectAccessPage.tsx#L165-L170

Image

It's wrong in multiple ways:

  • The current user may well be a silo admin who does in fact have permission to change that role
  • Adding a project role is possible even if the user is only a project admin and not a silo admin
    Image

The reason it's disabled is because conceptually, in order to modify that actor's role on the project, you have to add a new role assignment on the project, not modify the existing one on the silo. We could do a lot better in this UI to make that clear.

Lingua principale
TypeScript
Stelle
228
Fork
22
Merge medio
19h 42m
PR unite (30g)
32

Guida per i contributori

Apri la 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 oxidecomputer/console

Tutte le issue di oxidecomputer/console

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.