Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#815 5 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
52/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
typescript
Lĩnh vực
authorization, frontend

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.
Ngôn ngữ chính
TypeScript
Star
3.9k
Fork
374
Merge trung bình
21 giờ 18 phút
Pull request đã merge (30 ngày)
39

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của sourcebot-dev/sourcebot

Tất cả issue của sourcebot-dev/sourcebot

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.