Skip to content

Improvements to checking OAuth scopes - #1359

Merged
mislav merged 2 commits into
trunkfrom
scopes-admin
Jul 15, 2020
Merged

mislav merged 2 commits into
trunkfrom
scopes-admin

Conversation

@mislav

@mislav mislav commented Jul 13, 2020

Copy link
Copy Markdown
Contributor

mislav added 2 commits July 13, 2020 15:35
`admin:org` is inclusive of `read:org`, so if we find the former listed
in response headers, we can conclude that the token has necessary scopes
instead of letting a warning notice be shown.
@mislav
mislav requested a review from vilmibm July 13, 2020 14:03
@mislav
mislav merged commit 6e9fab6 into trunk Jul 15, 2020
@mislav
mislav deleted the scopes-admin branch July 15, 2020 11:06
@mislav mislav mentioned this pull request Jul 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

gh warns me that it requires read:org OAuth scope

2 participants