- Notifications
You must be signed in to change notification settings - Fork1k
Commitb60ae0a
authored
refactor: add wildcard scope entries for API key scopes (#20032)
# Add API Key Scope WildcardsThis PR adds wildcard API key scopes (`resource:*`) for all RBAC resources to ensure every resource has a matching wildcard value. It also adds all individual `resource: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 listThese changes make creating API keys with comprehensive permissions for specific resource types easier.1 parentd17dd5d commitb60ae0a
File tree
12 files changed
+1551
-141
lines changed- coderd
- apidoc
- database
- migrations
- codersdk
- docs/reference/api
- scripts
- apikeyscopesgen
- check-scopes
- generate_api_key_scope_enum
- site/src/api
12 files changed
+1551
-141
lines changedSome generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.
0 commit comments
Comments
(0)