coder / coder/pulldash

Check that organization allows reviews from third-party tools as early as possible

Aperta
#19 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
TypeScript
Stelle
124
Fork
10
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

I worked on a PR review, but upon pressing the "submit" button, nothing happens.

The console tells me:
```
https://api.github.com/repos//pulls//reviews 403 (Forbidden)
```
and
```
Uncaught (in promise) HttpError: Although you appear to have the correct authorization credentials, the
`` organization has enabled OAuth App access restrictions, meaning that data access to third-parties is
limited. For more information on these restrictions, including how to enable this app, visit
https://docs.github.com/articles/restricting-access-to-your-organization-s-data/
- https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request
at fetchWrapper (chunk-mf7bhnzv.js:22378:11)
at async chunk-mf7bhnzv.js:22870:16
at async Object.createPRReview (chunk-mf7bhnzv.js:23407:29)
at async submitReview (chunk-mf7bhnzv.js:77451:21)
at async chunk-mf7bhnzv.js:91874:5
```

So it looks like until I can get those permissions from my org, I cannot use Pulldash for work, and I only learn this at the end of the review process, which means I'll have to rewrite the review.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Inizia con il flusso di invio delle review mostrato nel report, in particolare submitReview e createPRReview, e analizza come rilevare prima l’errore 403 di GitHub relativo alle restrizioni di accesso OAuth App di un’organizzazione. Riproduci il caso di un’organizzazione con restrizioni e conferma che gli utenti vengano avvisati prima di scrivere una review, anziché solo quando premono «submit».

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
github, typescript
Ambito
api, authorization
Tipo di issue
Funzionalità
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.