Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

refactor: add wildcard scope entries for API key scopes#20032

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation

ThomasK33
Copy link
Member

@ThomasK33ThomasK33 commentedSep 30, 2025
edited
Loading

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:

  • Adding a new database migration (000377) that adds wildcard API key scopes
  • Updating the API documentation to include all available scopes
  • Enhancing the scope generation scripts to include all resource wildcards
  • Updating the TypeScript definitions to match the expanded scope list

These changes make creating API keys with comprehensive permissions for specific resource types easier.

@ThomasK33Graphite App
Copy link
MemberAuthor

ThomasK33 commentedSep 30, 2025
edited
Loading

@ThomasK33ThomasK33 changed the titlefeat: implement composite API key scopes for workspaces and templates (#19945)refactor: add wildcard scope entries for API key scopesSep 30, 2025
@ThomasK33ThomasK33force-pushed thethomask33/09-30-add_wildcard_scope_entries_for_api_keys branch frombf7dc20 to1f8b5f6CompareSeptember 30, 2025 11:14
@ThomasK33ThomasK33 marked this pull request as ready for reviewSeptember 30, 2025 13:10
@ThomasK33ThomasK33force-pushed thethomask33/09-30-add_wildcard_scope_entries_for_api_keys branch from1f8b5f6 to67e3e31CompareSeptember 30, 2025 14:02
@ThomasK33ThomasK33force-pushed thethomask33/09-30-add_wildcard_scope_entries_for_api_keys branch 7 times, most recently frombf0f8e8 to515bfd7CompareOctober 3, 2025 17:59
Added resource:* wildcard entries to api_key_scope enum for all RBACresources, ensuring each resource has a complete set of action-specificscopes plus a wildcard. Updated code generation scripts to synthesizewildcards from policy.RBACPermissions and include all built-in andcomposite scope names. This change ensures the database enum supportsthe full set of scope names required by the RBAC system, improvingconsistency between RBAC permissions and API key scopes.
@ThomasK33ThomasK33force-pushed thethomask33/09-30-add_wildcard_scope_entries_for_api_keys branch from515bfd7 to5884dbdCompareOctober 6, 2025 09:42
@ThomasK33ThomasK33 merged commitb60ae0a intomainOct 6, 2025
36 checks passed
@ThomasK33ThomasK33 deleted the thomask33/09-30-add_wildcard_scope_entries_for_api_keys branchOctober 6, 2025 10:08
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsOct 6, 2025
@EmyrkEmyrk self-assigned thisOct 6, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@EmyrkEmyrkEmyrk approved these changes

@aslilacaslilacAwaiting requested review from aslilac

Assignees

@ThomasK33ThomasK33

@EmyrkEmyrk

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@ThomasK33@Emyrk

[8]ページ先頭

©2009-2025 Movatter.jp