- Notifications
You must be signed in to change notification settings - Fork1k
Commit515bfd7
committed
refactor: add wildcard scope entries for API key scopes
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.1 parentb48e367 commit515bfd7
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)