feat: replace ExternalAPIKeyScopes with detailed ScopeCatalog#20248
Closed
ThomasK33 wants to merge 1 commit into
Closed
feat: replace ExternalAPIKeyScopes with detailed ScopeCatalog#20248ThomasK33 wants to merge 1 commit into
ThomasK33 wants to merge 1 commit into
Conversation
Member
Author
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
d26265a to
d8c07af
Compare
90212e3 to
ac2e772
Compare
d8c07af to
8b28268
Compare
fd23c4d to
a48aa91
Compare
8b28268 to
2026c82
Compare
2026c82 to
c0f9ab2
Compare
a48aa91 to
6ed027c
Compare
6ed027c to
0126ab0
Compare
c0f9ab2 to
8108da0
Compare
Replace the scopes endpoint response with a structured catalog so API clients can inspect specials, low-level, and composite scopes. Expose new metadata builders in rbac and codersdk, update swagger docs, and adjust the API test to cover the richer catalog payload.
8108da0 to
680f589
Compare
0126ab0 to
2d12da3
Compare
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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.

Enhance API Key Scopes Catalog
This PR enhances the API key scopes catalog by replacing the flat list of external scopes with a more structured and informative catalog. The new catalog organizes scopes into three categories:
The changes include:
ExternalAPIKeyScopeswith a more detailedScopeCatalogstructurelistExternalScopestolistScopeCatalogThis enhancement provides more context about each scope, making it easier for users to understand what permissions they're requesting when creating API keys.