Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

fix: add llmapikeys:read scope to viewer role (#2324)

Hassieb Pakzadf23bea927296
diff --git a/web/src/features/public-api/components/CreateLLMApiKeyDialog.tsx b/web/src/features/public-api/components/CreateLLMApiKeyDialog.tsx
index 0dfba8c3fc..8665417cc4 100644
--- a/web/src/features/public-api/components/CreateLLMApiKeyDialog.tsx
+++ b/web/src/features/public-api/components/CreateLLMApiKeyDialog.tsx
@@ -165,7 +165,7 @@ export function CreateLLMApiKeyDialog() {
Add new LLM API key
</Button>
</DialogTrigger>
- <DialogContent className="h-[90%] min-w-[40vw]">
+ <DialogContent className="max-h-[90%] min-w-[40vw] overflow-auto">
<DialogHeader>
<DialogTitle>Add new LLM API key</DialogTitle>
</DialogHeader>
diff --git a/web/src/features/rbac/constants/roleAccessRights.ts b/web/src/features/rbac/constants/roleAccessRights.ts
index 3e600a3dea..4ea278de6a 100644
--- a/web/src/features/rbac/constants/roleAccessRights.ts
+++ b/web/src/features/rbac/constants/roleAccessRights.ts
@@ -132,5 +132,6 @@ export const roleAccessRights: Record<ProjectRole, Scope[]> = {
"scoreConfigs:read",
"evalJob:read",
"evalJobExecution:read",
+ "llmApiKeys:read",
],
};