microsoft / microsoft/vscode-pull-request-github

plugin should switch to least privelege permissions

未关闭
#1,460 4 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 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.

Firefox_Screenshot_2019-12-07T23-44-17 244Z

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

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先定位扩展的 GitHub 授权范围,以及需要这些授权范围的功能入口点。检查当前如何请求和检查权限;当默认授权遵循最小权限原则,并且在缺少权限时不受支持的功能能够平稳降级时,即视为完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
github, typescript, vscode
领域
authorization, developer-experience, security
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
基本清楚
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。