mirror of
https://github.com/coder/coder.git
synced 2026-10-31 02:43:21 +08:00
Add the `chat_model_config` RBAC resource, actions, and API key scopes. This layer includes the scope migration and generated API types. Model list queries apply token scopes, SQL authorization filters, and row ACLs. Write and default-management handlers keep deployment configuration authorization until the next API layer replaces it. Depends on #27956 _This pull request description was generated by Coder Agents._
3 lines
71 B
SQL
3 lines
71 B
SQL
ALTER TYPE resource_type
|
|
ADD VALUE IF NOT EXISTS 'chat_model_config';
|