-
Notifications
You must be signed in to change notification settings - Fork 122
feat(api): project and personal scoped access tokens #7206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
8d86c9e
feat(api): project and personal scoped access tokens
n1ru4l e854b3a
typo
n1ru4l 9cc1d76
feat: project access token ui
n1ru4l 1e8349e
reuse component
n1ru4l 830b8b8
ui ui ui
n1ru4l 92b5a51
fixtures
n1ru4l f6237af
fix
n1ru4l dc71293
fix ts
n1ru4l c79b6f7
mr lint
n1ru4l a8c2050
feat: prevent using personal access token if permissions are lacking
n1ru4l 74a1352
no emoji?
n1ru4l b1df679
ui feedback for assign based on viewer
n1ru4l 8a187b7
add some descriptions
n1ru4l 1724cf3
tests tests tests
n1ru4l 7525bdb
changeset
n1ru4l 89c7dda
dem fixtures
n1ru4l 3f236c7
include userId and projectId in audit log types
n1ru4l 112d881
Apply suggestion from @n1ru4l
n1ru4l 7200828
Apply suggestion from @n1ru4l
n1ru4l 7a837b2
remove outdated comment
n1ru4l e4b654d
lint
n1ru4l 280d626
assert delete based on access token type
n1ru4l beb977e
add type debug info
n1ru4l 0634de6
remove dev debug code remains
n1ru4l 07298d4
fix dem types
n1ru4l f15eb53
l like my errors
n1ru4l dbf9100
schema adjustments
n1ru4l a255651
no breaking schema changes :)
n1ru4l 7914e98
lint
n1ru4l 81f04c4
review works
n1ru4l 35520ee
no scope
n1ru4l e271940
changeset
n1ru4l 08bbd65
more integration tests and permission fixes
n1ru4l fdeee74
!
n1ru4l ca19d84
lint
n1ru4l 7626887
typo
n1ru4l 40d1067
improve descriptions
n1ru4l ad24fb1
add unique letter to access token based on type
n1ru4l d7b8599
include scope in access token whoami output
n1ru4l 7d9e5f6
all the tests
n1ru4l c13c087
grammar
n1ru4l 6fce5a1
:eyes:
n1ru4l 82048e9
improve formatting
n1ru4l File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| '@graphql-hive/cli': minor | ||
| --- | ||
|
|
||
| Improve output of the `hive whoami` command. It now also handles the new access token format. | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| 'hive': minor | ||
| --- | ||
|
|
||
| Introduce personal access tokens (PAT) and project scoped access tokens. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.