-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
Redesign Scoped Access Tokens #24767
Merged
Merged
Changes from all commits
Commits
Show all changes
70 commits
Select commit
Hold shift + click to select a range
ce18b9a
update scopes, replace in tests, api route definitions, WIP on tests,…
jackHay22 17663a4
fix some tests
jackHay22 2b2cdc9
revert token scope reorg
jackHay22 8c0e8dc
split out the token scope check
jackHay22 0fc8dd1
add migration, fix integration tests, updates to scopes
jackHay22 5bb478d
update access token scope selection
jackHay22 3bb330e
fix scope selection logic
jackHay22 28c9dcd
update comment
jackHay22 5d90011
hide admin section if not admin
jackHay22 b439ccf
linting fixes
jackHay22 e405ab5
linting fixes
jackHay22 8850928
fix test
jackHay22 c05d22e
add permissions for gpg test
jackHay22 de80a3d
rework checkboxes
jackHay22 6df3808
check public org/repo at specific route middleware, fix public option…
jackHay22 149cb89
make public/private a radio button
jackHay22 21be460
fix test
jackHay22 9eca1fe
fix redundant check
jackHay22 bb59102
add warning if no scopes selected
jackHay22 a077bd0
Fix so that migration doesn't depend on non-migration code
jtran c95343c
Fix to initialize capacity
jtran 2486584
Change public only value to be clearer
jtran 80772f9
Fix to check type of Data value
jtran 2216d6b
Change to short-circuit
jtran 2996b87
Rename variable to be clearer
jtran 4c406d9
Move early return check to top
jtran 2bdeac0
Fix to preserve unknown token scopes in the migration
jtran cdef14b
Fix formatting
jtran be57005
Fix copyright date
jtran eff94f1
Add tests that verify that API access tokens deny access
jtran 94424cb
Fix to not have JS error on other pages
jtran 75254a0
Remove redundant name field from Vue component
jtran 5da5715
Change to not display the issue category in the UI
jtran 80bcbee
Fix public-only in the form
jtran b46fd71
Fix to use locale and change "scope" to "permission"
jtran bb9ab9c
Fix public-private form UI wording and alignment
jtran 8fe485b
Remove misleading description text
jtran fa903f9
Fix to show public-only access for existing tokens
jtran 26a4914
Change wording to be clearer about limited visibility access
jtran c7ff458
Remove issue category from frontend
jtran 76b7dbf
Change test order to be alphabetic
jtran 30faca5
Rename variable to be clearer
jtran 1ad3b7e
Change formatting to be clearer
jtran 577673b
Add test that delete scope can also read
jtran f932ad8
Change padding based on review
jtran 2ba71e1
Change to not use inline styles
jtran 9e7f300
Fix no scope selected warning
kdumontnu fcc8595
Add small description
kdumontnu b4ad948
Move issue to seperate route
kdumontnu 4d67b4a
Move repo notifications to seperate route
kdumontnu af17f87
Update documentation
kdumontnu 04f55e1
Add activitypub to documentation
kdumontnu 24a1a99
apply review feedback
jackHay22 67a63fe
revert formatting
jackHay22 89c640b
add migration to list, add test for migration
jackHay22 f3390f6
add test for idempotent scope conversion
jackHay22 d36f036
linting fix
jackHay22 a3d67d1
fixes
jackHay22 c749400
Merge branch 'main' into jh/feat-redesign-scoped-pats
kdumontnu d8d1472
apply review feedback
jackHay22 1c3023e
fix autoformat
jackHay22 566ea50
Update web_src/js/components/ScopedAccessTokenSelector.vue
silverwind 02a1b03
Update web_src/js/components/ScopedAccessTokenSelector.vue
silverwind 67e1531
Update web_src/js/components/ScopedAccessTokenSelector.vue
silverwind fccb03e
Merge branch 'main' into jh/feat-redesign-scoped-pats
kdumontnu cb233ca
merge write and delete scopes
jackHay22 4d3fea8
update scope selection ui
jackHay22 a855029
remove delete scopes from documentation
jackHay22 cb6c9ee
update comment to remove 'delete'
jackHay22 45e8376
Merge branch 'main' into jh/feat-redesign-scoped-pats
kdumontnu 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 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 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.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The "public only" is not mentioned here but appears in code, I still have difficulty to understand what is "public only" or what it affects .....