Skip to content

Commit 515bfd7

Browse files
committed
refactor: add wildcard scope entries for API key scopes
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.
1 parent b48e367 commit 515bfd7

12 files changed

Lines changed: 1551 additions & 141 deletions

File tree

coderd/apidoc/docs.go

Lines changed: 298 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

coderd/apidoc/swagger.json

Lines changed: 298 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)