feat: add aibridged package (#19797)

Addresses https://github.com/coder/internal/issues/987
This commit is contained in:
Danny Kopping
2025-09-25 15:40:25 +02:00
committed by GitHub
parent 289f0217c7
commit fc9bff7107
19 changed files with 1377 additions and 43 deletions
+1
View File
@@ -570,6 +570,7 @@ var (
DisplayName: "AIBridge Daemon",
Site: rbac.Permissions(map[string][]policy.Action{
rbac.ResourceUser.Type: {
policy.ActionRead, // Required to validate API key owner is active.
policy.ActionReadPersonal, // Required to read users' external auth links. // TODO: this is too broad; reduce scope to just external_auth_links by creating separate resource.
},
rbac.ResourceApiKey.Type: {policy.ActionRead}, // Validate API keys.