mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: add ai_providers table, queries, dbauthz, audit, RBAC (#24892)
This commit is contained in:
@@ -398,6 +398,15 @@ var RBACPermissions = map[string]PermissionDefinition{
|
||||
ActionUpdate: "update AI model prices",
|
||||
},
|
||||
},
|
||||
"ai_provider": {
|
||||
Name: "AIProvider",
|
||||
Actions: map[Action]ActionDefinition{
|
||||
ActionRead: "read AI provider configuration",
|
||||
ActionCreate: "create an AI provider",
|
||||
ActionUpdate: "update an AI provider",
|
||||
ActionDelete: "delete an AI provider",
|
||||
},
|
||||
},
|
||||
"ai_seat": {
|
||||
Actions: map[Action]ActionDefinition{
|
||||
ActionCreate: "record AI seat usage",
|
||||
|
||||
Reference in New Issue
Block a user