Post-MVP: narrow GitHub sign-in to identity-only (drop the broad `repo` scope)
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- github, javascript
- Lĩnh vực
- authentication, security
Hướng nghiên cứu
Start with GITHUB_SCOPES in src/oauth/provider.js:33 and the GitHub App access design in docs/superpowers/specs/2026-11-17-github-app-access-design.md. Check whether @octokit/auth-app covers the remaining repository reads, writes, and creation before assessing the scope. Done means sign-in requests only read:user user:email while repository operations use the existing GitHub App.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
What
GitHub sign-in asks for repo read:user user:email (GITHUB_SCOPES in src/oauth/provider.js:33). On GitHub's consent screen, repo reads as "Repositories: Public and private", so every new user who signs in with GitHub sees a broad request.
#110 (GitHub App, #327) already moved the credential a manager lends onto a repository-scoped App. It deliberately left the sign-in scope alone, because signing in with GitHub still reaches the person's own repository and creating a repository still needs repo.
Proposal
Make sign-in identity-only (read:user user:email) and move repository reads, writes and creation onto the GitHub App, so the consent screen no longer asks for access to all repositories.
Why it is low priority
Not material to the MVP experiment. Google sign-in and the App-based lend path already cover the manager-trust story, and the consent screen only reaches what the signing-in account can already reach. Revisit if a manager or buyer objects to the screen.
Existing open source first
Nothing to build from scratch: GitHub Apps and user-to-server tokens (via the existing App) are the supported route, and the spec for #110 (docs/superpowers/specs/2026-11-17-github-app-access-design.md) already sketches the split. Check whether @octokit/auth-app covers the remaining pieces before hand-rolling any of it.
- Ngôn ngữ chính
- JavaScript
- Star
- 1
- Fork
- 2
- Merge trung bình
- 1 ngày 19 giờ
- Pull request đã merge (30 ngày)
- 62
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của StatsLateral/teamctx
-
Sign-in page: label GitHub as for Team Managers and Google as for Team MembersCó thể đã có người làm @StatsLateral đã nhận hôm nay. Đang mởenhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
StatsLateral/teamctx#343 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Plain-language message when a GitHub sign-in can't read a project (replace "PAT lacks access")Đang mởenhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
StatsLateral/teamctx#342 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Let a manager delete a task before anyone has worked on it, and archive it afterCó thể đã có người làm @satyagyasingh đã nhận 14 ngày trước. Đang mởenhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
StatsLateral/teamctx#320 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
StatsLateral/teamctx#301 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement parked
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
StatsLateral/teamctx#286 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của StatsLateral/teamctx
Issue tương tự
-
Entity picker filter keeps the first kind's groups after switching Specific Term / Specific PostĐang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
davidofchatham/bws-gb-dynamic-tags-extensions#177 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 86/100
ioBroker/ioBroker.zigbee#3069 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
[Tool] Simple LinkedIn ComposerĐang mởhas-image has-license has-readme new-tool ready-to-approve repo-verified
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
shanselman/TinyToolTown#957 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
ionic-team/capacitor#8759 ·
Maintainer thường phản hồi trong vòng 1 ngày