microsoft / microsoft/vscode-pull-request-github
plugin should switch to least privelege permissions
未关闭
还没有人认领这个 Issue。
feature-request
- 主要语言
- TypeScript
- 星标
- 2.6k
- 派生
- 796
- 平均合并
- 1 天 4 小时
- 30 天内合并 PR
- 46
描述
Thanks for this wonderful plugin!
However, I'm hesistant on authorizing this plugin to do EVERYTHING on my Github account.
The plugin requests Github authorization for write (and read) on EVERYTHING - including repo, team discussions, wiki, etc.

Could we switch to using least privilege permissions, where the default set of permissions is scoped down to what's required and the plugin gracefully degrades features based on permissions it is granted?
- Extension version: 0.13.0
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先定位扩展的 GitHub 授权范围,以及需要这些授权范围的功能入口点。检查当前如何请求和检查权限;当默认授权遵循最小权限原则,并且在缺少权限时不受支持的功能能够平稳降级时,即视为完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- github, typescript, vscode
- 领域
- authorization, developer-experience, security
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 25/100