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

[FR] Upgrade pop-up should only be shown to current owner, not users

Aperta
#815 5 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
52/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
typescript

Direzione di ricerca

Search the TypeScript codebase for the “Upgrade” popup and the owner-role check, then reproduce the issue as a normal user and as a former owner. Trace how the current role is determined before upgrade-related UI is shown. Done means only users who currently have the owner role see the popup, while regular and former owners do not.

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

Descrizione

Feature good first issue
Feature Description

As a normal user (no longer an owner), I encountered a pop-up prompting me to 'Upgrade'. This upgrade prompt should ONLY be shown to the current owner(s) of the sourcebot instance, not to users without the owner role.

Expected Behaviour:

  • The 'Upgrade' popup should be shown exclusively to users who currently have the 'owner' role.
  • Regular users (including former owners who no longer have the owner role) should NOT receive upgrade prompts.
  • The system should accurately check for the 'owner' role before displaying any upgrade-related UI elements.

User Story

  • When I sign in as a normal user, I should NOT receive upgrade prompts intended for organization owners. Only current owners of the organization should see the upgrade pop-up.
Lingua principale
TypeScript
Stelle
3.9k
Fork
374
Merge medio
21h 18m
PR unite (30g)
39

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 sourcebot-dev/sourcebot

Tutte le issue di sourcebot-dev/sourcebot

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.