permissions

オープン
#305 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
30/100
issue の種類
リファクタリング
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
github
領域
devops, security

調査の方向性

まず issue #300 を読み、Checks、Contents、Pull Requests、Metadata、Commit Status に対する GitHub App の権限設定を確認します。コミットの読み取り、checks の表示、コメントの読み取りまたは書き込みに必要な権限を確認し、それらの動作を失うことなく不要なアクセス権を削除できることを検証します。

索引モデルが issue の本文から書いたものです。

説明

i was debugging #300 and then i came to the conclusion that we might need contents write permission on the github app! which was not a good idea and was not even a solution!

we just reverted that access, so hopefully all good now!

but here i'm going to explain why we need certain permissions for the app!

Checks

image

So we can have this beautiful indicator:

image

Contents

We do not need writes on this! We just want to read a commit!
image

Pull Requests

image

We need to read and write comments! Write so you can have a comment, and Read so we do not duplicate.

Metadata

This is mandatory from github and I do not think we need it.

image

Commit Status

image

I do not think we need this since Checks already get the job done, let me try and see if we can remove it.

主要言語
TypeScript
スター
1.9k
フォーク
131
平均マージ
1日 9時間
マージ済み PR(30日)
6

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

stackblitz-labs/pkg.pr.new のほかの issue

stackblitz-labs/pkg.pr.new の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。