From d57d3810e43539b57d2f6e494ef647355aa894d8 Mon Sep 17 00:00:00 2001 From: Duy Nguyen Date: Sun, 17 May 2026 18:01:41 +0700 Subject: [PATCH] fix(cli-credentials): clarify agent grant env controls --- docs/project-changelog.md | 4 ++++ .../cli-credentials/cli-credential-grant-env-section.tsx | 3 +++ .../src/pages/cli-credentials/cli-credentials-table.tsx | 9 ++++++++- 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/docs/project-changelog.md b/docs/project-changelog.md index 397b99ab..b4923f45 100644 --- a/docs/project-changelog.md +++ b/docs/project-changelog.md @@ -34,6 +34,10 @@ Significant changes, features, and fixes in reverse chronological order. - Removed the duplicate standalone `CLI Credentials` item from the left sidebar. - Added focused coverage for grant env payload semantics and routing contracts. +**Fixes** + +- Made agent-grant environment variable controls easier to find by labeling the row action and adding a visible Environment Variables header inside the grant form. + **Security** - Nested agent-grant get/update/delete/reveal routes now verify the grant belongs to the binary ID in the URL. diff --git a/ui/web/src/pages/cli-credentials/cli-credential-grant-env-section.tsx b/ui/web/src/pages/cli-credentials/cli-credential-grant-env-section.tsx index 8a0f48c2..ebff9a70 100644 --- a/ui/web/src/pages/cli-credentials/cli-credential-grant-env-section.tsx +++ b/ui/web/src/pages/cli-credentials/cli-credential-grant-env-section.tsx @@ -149,6 +149,9 @@ export function CliCredentialGrantEnvSection({ return (
+
diff --git a/ui/web/src/pages/cli-credentials/cli-credentials-table.tsx b/ui/web/src/pages/cli-credentials/cli-credentials-table.tsx index 0e994554..0e2a15b8 100644 --- a/ui/web/src/pages/cli-credentials/cli-credentials-table.tsx +++ b/ui/web/src/pages/cli-credentials/cli-credentials-table.tsx @@ -67,8 +67,15 @@ export function CliCredentialsTable({ items, onEdit, onDelete, onUserCreds, onGr {item.timeout_seconds}s
-