Repository navigation
refactor: add wildcard scope entries for API key scopes - #20032
Merged
ThomasK33 merged 1 commit intoOct 6, 2025
Merged
Conversation
Member
Author
This stack of pull requests is managed by Graphite. Learn more about stacking. |
This was referenced Sep 30, 2025
ThomasK33
force-pushed
the
thomask33/09-30-add_wildcard_scope_entries_for_api_keys
branch
from
September 30, 2025 11:14
bf7dc20 to
1f8b5f6
Compare
ThomasK33
marked this pull request as ready for review
September 30, 2025 13:10
ThomasK33
force-pushed
the
thomask33/09-30-add_wildcard_scope_entries_for_api_keys
branch
from
September 30, 2025 14:02
1f8b5f6 to
67e3e31
Compare
Emyrk
approved these changes
Sep 30, 2025
ThomasK33
force-pushed
the
thomask33/09-30-add_wildcard_scope_entries_for_api_keys
branch
7 times, most recently
from
October 3, 2025 17:59
bf0f8e8 to
515bfd7
Compare
Added resource:* wildcard entries to api_key_scope enum for all RBAC resources, ensuring each resource has a complete set of action-specific scopes plus a wildcard. Updated code generation scripts to synthesize wildcards from policy.RBACPermissions and include all built-in and composite scope names. This change ensures the database enum supports the full set of scope names required by the RBAC system, improving consistency between RBAC permissions and API key scopes.
ThomasK33
force-pushed
the
thomask33/09-30-add_wildcard_scope_entries_for_api_keys
branch
from
October 6, 2025 09:42
515bfd7 to
5884dbd
Compare
ThomasK33
deleted the
thomask33/09-30-add_wildcard_scope_entries_for_api_keys
branch
October 6, 2025 10:08
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.

Add API Key Scope Wildcards
This PR adds wildcard API key scopes (
resource:*) for all RBAC resources to ensure every resource has a matching wildcard value. It also adds all individualresource:action scopes to the API documentation and TypeScript definitions.The changes include:
These changes make creating API keys with comprehensive permissions for specific resource types easier.